Skip to content

Commit

Permalink
Also get the Federal District
Browse files Browse the repository at this point in the history
It's the one electorial district that isn't a state.
  • Loading branch information
tmtmtmtm committed Dec 15, 2016
1 parent a0f358d commit 7384084
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper.rb
Expand Up @@ -17,6 +17,7 @@

wanted = EveryPolitician::Wikidata.sparql(query)
raise 'No ids' if wanted.empty?
wanted << 'Q119158' # Federal District

data = Wikidata::Areas.new(ids: wanted).data
ScraperWiki.save_sqlite(%i(id), data)

0 comments on commit 7384084

Please sign in to comment.