Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myles/opendata-toronto-datasette
A Datasette of Toronto's Open Data Catalogue.
https://github.com/myles/opendata-toronto-datasette
Last synced: 24 days ago
JSON representation
A Datasette of Toronto's Open Data Catalogue.
- Host: GitHub
- URL: https://github.com/myles/opendata-toronto-datasette
- Owner: myles
- Created: 2019-05-09T15:27:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T08:34:58.000Z (over 2 years ago)
- Last Synced: 2024-10-03T19:20:14.263Z (about 1 month ago)
- Language: Python
- Size: 2.93 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenData Toronto Datasette
A [Datasette](https://datasette.readthedocs.io) of [Toronto's Open Data Catalogue](https://www.toronto.ca/city-government/data-research-maps/open-data/open-data-catalogue/).
## Usage
### Download data
I wrote a simple Python script to download all the CSV files from the catalogue.
```bash
$ pipenv run python download_opendatato_csv_files.py
```### Convert CSV files into a SQLite database
```bash
$ pipenv run csvs-to-sqlite data/*.csv catalogue.db
```### Publish to Ziet Now
```bash
$ datasette publish now catalogue.db
```