UrbanInstitute / education-data-package-stata

MIT License
19 stars 4 forks source link

Filter validation errors #34

Closed grahamimac closed 6 years ago

grahamimac commented 6 years ago

Some variables can only be filtered on a single value, and others on multiple values. This is indicated in the varlist call as "isfilter", so this should be used to produce helpful error messages.

grahamimac commented 6 years ago

I added more helpful error messages, but found errors in the API I didn't expect when doing the programming. I'll link back to this issue when I add the issue in the main education data repository.

grahamimac commented 6 years ago

Fixed for one endpoint, "college ipeds directory", but need to test on others. This has been implemented as a change in the code to provide more useful error messages, but I still need to check to see if multiple filters are producing 500 errors, so keeping this open. https://github.com/UI-Research/education-data.urban.org/issues/150

grahamimac commented 6 years ago

Closing this, as we closed the original education-data issue. I will open separate issues as this comes up in the future.