Hello all,
I downloaded the command nba2stata to get data from this website to STATA. However when I was running the following command I got the following error:
nba2stata playerstats _all, season(2017) seasontype(reg) stat(season) clear
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.stata.Javacall.load(Javacall.java:130)
at com.stata.Javacall.load(Javacall.java:90)
Caused by: java.lang.NoClassDefFoundError: com/stata/StWebTools
at com.stata.chassell.NBA2Stata.doCommand(NBA2Stata.j ava:2461)
... 6 more
Caused by: java.lang.ClassNotFoundException: com.stata.StWebTools
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
... 7 more
Can anyone explain why. And also what is the best way to scrape Facebook data into STATA. I tried but it is saying API access deactivated.
Any help is appreciated.
Related Posts with Web scarping error
Synthetic control method: how to select V matrixDear all, I am learning Synthetic Control method, Stata has command Code: synth . When I read th…
Region and year fixed effects model for pooled cross sectional dataDear all, I have a dataset of pooled cross sectional data for individuals across a number of differ…
Hsiao Li Racine test for correct specification of parametric regression modelsHello, I am searching but have no luck in finding the stata code for the Hsiao Li Racine test that c…
Probit RegressionHi, I have a question according to a probit regression. The variable Format is 1 if a company switch…
Standardising variables ***Stata newbie***Hi all, I am trying to standardise 'ethnicity' variable into four categories: 1. white 2. black 3.…
Subscribe to:
Post Comments (Atom)
0 Response to Web scarping error
Post a Comment