The Socrata Open Data Publisher API is strictly a superset of the features provided in the Consumer API — in fact, they are one and the same. For details on how to access information, please refer to the Consumer API documentation. For those of you who wish to publish data, however, venture bravely onwards!
Regardless of how you plan to keep your dataset up to date, we recommend uploading your data file and creating your initial dataset through our web interface, rather than using the API. This will give you a chance to review how our systems will import your dataset, what datatypes will be selected, and what it will look like and how it will be behave once it’s in our platform.
If you’ve never imported a dataset before, this helpful guide on importing datasets should get you started.
Before embarking on a project to automate data publishing, it’s important to take a step back and think about the nature of your dataset in order to pick the best way to integrate with Socrata. Here are a few of the most common use cases and our recommendations.
If your dataset is rarely or never updated — for example, the final results of an election or a census — our web-based user interface is likely sufficient to keep your data up to date. You can edit, update, or append data to a dataset entirely through your web browser, using our simple web user interface.
For more information about how to update a dataset via the Socrata web interface, read this how-to guide.
Socrata DataSync is a cross-platform Java application that makes it easy to set up an automatic process to keep a Socrata dataset up to date. It also uses an intelligent update method to efficiently update datasets even when performing what would otherwise be a full replace.
Safe Software has partnered with Socrata to build an FME “writer” for Socrata. Using the Socrata Writer, you can easily create workflows to extract data from source systems using Safe FME, perform cleanup and transformation, and publish that data to Socrata.
For more information about the Socrata Writer for FME, see this helpful writeup on Safe’s website, as well as this demo tutorial. We have also produced a support article detailing the different updat eoptions avaiable with links to additional detail..
For the tightest possible integration between your source system and your Socrata platform, you’ll want to integrate directly with the Socrata Publisher API. The Publisher API allows you to programatically:
To learn more about the Socrata Publisher API, see the getting started guide or check out the API documentation above.
Libraries & SDKs that have Publisher API support include:
Once or twice a month, we send out an email newsletter full of helpful tips and tricks, news about upcoming changes, and other things you might want to know as a Socrata data publisher. Sign up now!