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
Summary statistics for subgroups of a categorical variableDear Statalist,
I want to create a code giving me summary statistics (mean, min and max) of each su…
Test Nonlinear/Squared/Quadratic/Curvilinear Moderating Effect with utestHi everyone,
currently I am investigating a regression model with nonlinear moderating effect (XZ²)…
Panel ID in Trade GroupsHi, I am using the following data (Sample). I need to create a panel id which is uniquely identified…
Randomly assigning treatment at a proportion to a variableHello. I have a variable X with, say, 10000 observations. I want to randomly assign a treatment valu…
Help for analysing DatasetHi there,
I have a Dataset with Observations for lots of ID's in many years. These all have attribu…
Subscribe to:
Post Comments (Atom)
0 Response to Web scarping error
Post a Comment