Skip to content

Instantly share code, notes, and snippets.

@simonw
Last active February 5, 2019 16:50
Show Gist options
  • Select an option

  • Save simonw/e7056ee064a2aa9123a8acb6506b24db to your computer and use it in GitHub Desktop.

Select an option

Save simonw/e7056ee064a2aa9123a8acb6506b24db to your computer and use it in GitHub Desktop.
csvs-to-sqlite https://candidates.democracyclub.org.uk/media/candidates-all.csv \
--table=candidates \
-c election \
-f name \
-f party_name \
-f post_label \
democracyclub.db
datasette publish heroku democracyclub.db \
--name="democracyclub-datasette" \
--title="Democracy Club" \
--source="Democracy Club" \
--source_url="https://candidates.democracyclub.org.uk/" \
--license="CC-BY-SA" \
--license_url="https://creativecommons.org/licenses/by-sa/3.0/"
@simonw

simonw commented Feb 5, 2019

Copy link
Copy Markdown
Author

@davorg

davorg commented Feb 5, 2019

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment