https://github.com/timwis/socrata-pusher
Push database tables to Socrata via DataSync
https://github.com/timwis/socrata-pusher
Last synced: 3 months ago
JSON representation
Push database tables to Socrata via DataSync
- Host: GitHub
- URL: https://github.com/timwis/socrata-pusher
- Owner: timwis
- Created: 2015-11-09T03:16:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-21T22:09:07.000Z (over 10 years ago)
- Last Synced: 2025-01-25T07:11:24.377Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Socrata Pusher
Push database tables to Socrata via DataSync
# DEPRECATED in favor of [sde-socrata](https://github.com/timwis/sde-socrata)
This utility loops through a [list of tables](https://github.com/timwis/socrata-pusher/blob/master/datasets.yaml)
and pushes their contents to their corresponding Socrata dataset IDs.
## Requirements
- Java Runtime JDK
- [DataSync](https://socrata.github.io/datasync/)
- Python
## Installation
1. Clone this repository
2. Install dependencies via `pip install -r requirements.txt`
3. Put the DataSync `.jar` file in the `/bin` directory
## Configuration
1. Copy `.env.sample` to `.env` and fill it in
2. Copy `config.sample.json` to `config.json` and fill it in
3. Fill in table and dataset ID information in `datasets.yaml`
## Usage
```bash
$ python main.py
```