Skip to content

stevage/open-council-data-map

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is up to date with OKFNau/open-council-data-map:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Open council data map updater

Updates dataset counts in Open Council Data map, using CKAN and CartoDB APIs.

Result: https://stevage.cartodb.com/viz/43494ef2-61f3-11e5-a667-0e4fddd5de28/public_map

See also: opencouncildata.org

Written by Steve Bennett, melbdataguru.tumblr.com, stevebennett.me, @stevage1 License: CC-BY AU 3.0

Install

git clone https://github.com/OKFNau/open-council-data-map

cd open-council-data-map

# Add your CartoDB API key: 
echo "cartodb_api_key = '123456...'" > settings.py
echo "cartodb_domain = 'stevage1'" >> settings.py

# Of course, that's all assuming you have a table called lga_datasets formatted just like mine.

pip install cartodb ckanapi

python update-cartodb.py

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%