Search code examples
metadatasocratasoda

Update Socrata dataset metadata through API


According to Socrata's "Publisher Guide":

The Publisher API allows you to programatically:

  • Add, update, and delete records within a Socrata dataset

  • Maintain dataset metadata and privacy settings

But I can't see anywhere in the API docs that explains how to do this. It's all about creating, updating or removing individual rows - nothing to do with dataset metadata.

For instance - how do you add a tag to an existing dataset, using the API?


Solution

  • Sorry if that statement is a little misleading. Metadata update is available officially through the soda-java library and unofficially through sodapy.

    To understand properly, you're looking to update the set of tags programmatically on a set of datasets, and if I've read your profile correctly, it looks like you'll have access to the Socrata platform as a data publisher. Correct?