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
Changing the date formatCurrently, I have the variable, calldate, which is in the format 09jul2019, 10jul2019, etc. Is ther…
Stata Matrix errorHi. I am doing a regression based decomposition analysis. This is my code Code: global X "Educatio…
Graph by categories and groupsTrying to plot a graph (scatter plot with line ) using a variable (rip) which takes values different…
cmp models with zero-inflationI have recently started using cmp models which I find to be very much useful in building multivariat…
Dynamic panel data, with small N and large TI have a panel data with N=17 and T=46. The model has a dynamic specification as it includes a lagge…
Subscribe to:
Post Comments (Atom)
0 Response to Web scarping error
Post a Comment