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
Calculate the age when the grant was received from the current age and the year when the grant was receivedDear All, Can you help me with the following. I have collected the age (d4) for all the respondent…
How do I detect if I have problem with my degree of freedom due to too many categorical variables in my regression model?I am aware that having too many categorical variables in the regression model might affect degree of…
Reporting summary statistics for time variable (e.g., number of minutes)I'd like to report the summary statistics for a time variable. I ran an experiment and I have the n…
create table from var valuesHello, I am using Stata 17 and would like to create a table showing the var values for each observa…
Ordered logistic regression to identify the predictors of Cataract progressionsI have cross-sectional data for the Diabetes group. I am trying to test a model the predicts a speci…
Subscribe to:
Post Comments (Atom)
0 Response to Web scarping error
Post a Comment