g0v/democracy_common

Name: democracy_common

Owner: g0v

Description: null

Created: 2018-02-17 12:16:18.0

Updated: 2018-05-24 15:00:17.0

Pushed: 2018-05-24 15:00:15.0

Homepage: null

Size: 1827

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

democracy_common

https://www.wikidata.org/wiki/Wikidata:WikiProject_every_politician

Setup

Follow procedure to register an bot account in Wikidata

Run Scripts
 core
$ python3 -m taiwan.current_legislators
$ python3 -m taiwan.setup_councils_and_position
Run Crawler
 crawler/south_korea
ler/south_korea$ scrapy runspider assembly.py -o ../../core/south_korea/data/assembly.json -s FEED_EXPORT_ENCODING=utf-8
ler/south_korea$ scrapy runspider flacs_mayor.py -o ../../core/south_korea/data/flacs_mayor.json -s FEED_EXPORT_ENCODING=utf-8
ler/south_korea$ scrapy runspider sub_mayor.py -o ../../core/south_korea/data/sub_mayor.json -s FEED_EXPORT_ENCODING=utf-8
ler/south_korea$ scrapy runspider flacs_councilor.py -o ../../core/south_korea/data/flacs_councilor.json -s FEED_EXPORT_ENCODING=utf-8
ler/south_korea$ scrapy runspider sub_councilor.py -o ../../core/south_korea/data/sub_councilor.json -s FEED_EXPORT_ENCODING=utf-8

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.