UrbanInstitute / education-data-package-stata

MIT License
19 stars 4 forks source link

SAIPE (Error -675) #4

Closed vlee-urban closed 6 years ago

vlee-urban commented 6 years ago
  1. Using this call: educationdata using "school-districts saipe" , sub("year=1995"). The data loads in but we get an error message

    Error -675, Unable to open URL: server reported server error gettable(): 3010 attempt to dereference NULL pointer getalltables(): - function returned error getalldata(): - function returned error

    : - function returned error
  2. It seems we can only call one year of data at a time. Using this code: educationdata using "school-districts saipe" , sub("year=2000:2010") Only gets the first year of data and the same error message above appears.

grahamimac commented 6 years ago

Thanks Victoria! These errors are likely related, so thanks for including them in the same issue. I'll take a look tomorrow or Monday and get back to you.

grahamimac commented 6 years ago

I looked into this, and as with Issue 3, this is an issue on the API end, where the "next page" feature of SAIPE data is returning an error. I will add this issue to Dave's queue to fix on the API end. Thanks again!

grahamimac commented 6 years ago

Also, a related error, from Matt - I will look into this further:

. educationdata using "school-districts saipe", subset("

year=2011 fips=01") Please be patient - Downloading data from API. I'll give you a time estimate shortly. est_population_5_17_poverty_pctdf invalid name stata(): 3598 Stata returned error createdataset(): - function returned error getalldata(): - function returned error

: - function returned error r(3598);
grahamimac commented 6 years ago

Dave resolved the underlying error in the API, and I resolved Matt's error that caused the definition string to be longer than 32 characters, upcoming in the next release. There is a larger error with filtering in the API that this brings up, but I will open a new issue for that here and in the API repository.