koopjs / koop-socrata

Socrata provider for Koop.
Other
8 stars 7 forks source link

Missing fields in Socrata datasets #56

Closed sirws closed 8 years ago

sirws commented 8 years ago

https://data.wa.gov/Natural-Resources-Environment/Water-Right-Applications/9ubz-5r4b?

Once processed through koop, the GPM and DOMESTIC_UNITS fields are not available. http://koop.dc.esri.com/socrata/wastate/9ubz-5r4b/FeatureServer

I think this is because we are only searching the first row: https://data.wa.gov/resource/9ubz-5r4b.json?$order=:id&$limit=1

Any ideas?

sirws commented 8 years ago

You would think we could pull the fields from here instead: https://data.wa.gov/api/views.json?method=getDefaultView&id=xc42-c7rk

sirws commented 8 years ago

Or, what about pulling the csv endpoint: https://data.wa.gov/resource/9ubz-5r4b.csv?$order=:id&$limit=1

It appears to include all fields in there...

jgravois commented 8 years ago

closed via #58 (nice work @sirws!)