Bring in custom metadata for columns (human readable label and descriptions) -- currently api field names are used.

Comments

PapaGrande created an issue. See original summary.

papagrande’s picture

This would require refactoring socrata_views_data() to use the Endpoint API.

papagrande’s picture

To get the metadata, the URL is like https://data.seattle.gov/api/views/i5jq-ms7b.json.

arh1’s picture

Assigned: Unassigned » arh1
StatusFileSize
new3.26 KB

Here's a first pass at this. We also have some special case metadata from the old API that we'll want to take a look at.

arh1’s picture

Status: Active » Needs review
StatusFileSize
new5.64 KB

Here's a better patch with some additional handling of some metadata from the old API, and a little more documentation.

papagrande’s picture

StatusFileSize
new5.86 KB
new2.08 KB

I fixed a few coding standards issues and changed the field help text to be Socrata data field of type %field_type.

  • PapaGrande committed 809ec4d on 7.x-1.x authored by arh1
    Issue #2575129 by arh1, PapaGrande: Use custom metadata for columns (...
papagrande’s picture

Status: Needs review » Fixed

Commited as 809ec4d to dev branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.