UrbanInstitute / education-data-package-stata

MIT License
19 stars 4 forks source link

Filter by string not functioning properly for SAIPE #8

Closed grahamimac closed 6 years ago

grahamimac commented 6 years ago

After resolving a related issue, I found that the call

educationdata using "school-districts saipe", subset("year=2011 fips=01")

Produces 0 results. Digging further, I find that the API call returns 0 results for that filter: https://ed-data-portal.urban.org/api/v1/school-districts/saipe/2011/?fips=01

This is unexpected behavior, because this same type of string filtering works elsewhere, for example: https://ed-data-portal.urban.org/api/v1/schools/ccd/directory/2011/?school_id=277 and https://ed-data-portal.urban.org/api/v1/schools/ccd/directory/2011/?leaid=0100007.

I believe the API should be configured so SAIPE has the same behavior.

grahamimac commented 6 years ago

Dave has implemented this fix in the API, so I'm closing this issue!