From 1f91065b20cbc691f464bccfd8eef7d1ce4b14a8 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 8 Feb 2019 08:06:10 -0800 Subject: [PATCH] Added socrata2sql to the ecosystem page A fantastic new tool created by @achavez at the Dallas Morning News. --- docs/ecosystem.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/ecosystem.rst b/docs/ecosystem.rst index 401cd22a..18390122 100644 --- a/docs/ecosystem.rst +++ b/docs/ecosystem.rst @@ -42,6 +42,15 @@ markdown-to-sqlite `markdown-to-sqlite `__ reads Markdown files with embedded YAML metadata (e.g. for `Jekyll Front Matter `__) and creates a SQLite table with a schema matching the metadata. This is useful if you want to keep structured data in text form in a GitHub repository and use that to build a SQLite database. +socrata2sql +----------- + +`socrata2sql `__ is a tool by Andrew Chavez at the Dallas Morning News. It works with Socrata, a widely used platform for local and national government open data portals. It uses the Socrata API to pull down government datasets and store them in a local SQLite database (it can also export data to PostgreSQL, MySQL and other SQLAlchemy-supported databases). + +For example, to create a SQLite database of the `City of Dallas Payment Register `__ you would run the following command:: + + $ socrata2sql insert www.dallasopendata.com 64pp-jeba + Datasette Plugins =================