Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribution Table - Add Geographies #290

Open
TriciaGovindasamy opened this issue May 10, 2018 · 1 comment
Open

Distribution Table - Add Geographies #290

TriciaGovindasamy opened this issue May 10, 2018 · 1 comment

Comments

@TriciaGovindasamy
Copy link

TriciaGovindasamy commented May 10, 2018

Municipalities don't appear when typed into Add Geographics. https://wazimap.co.za/data/distribution/?table=PARTY_VOTES_MUNICIPAL_2016&primary_geo_id=municipality-ETH&geo_ids=municipality%7Cprovince-KZN&release=2016

screen shot 2018-05-10 at 11 11 25

screen shot 2018-05-10 at 11 31 38

@jbothma
Copy link
Contributor

jbothma commented May 10, 2018

A temporary workaround:

If the page where you want to add a municipality is

https://wazimap.co.za/data/distribution/?table=PARTY_VOTES_MUNICIPAL_2016&primary_geo_id=municipality-ETH&geo_ids=municipality%7Cprovince-KZN&release=2016

Find the code for City of Cape Town by navigating to its profile from the homepage:

  1. If its profile is at https://wazimap.co.za/profiles/municipality-CPT-city-of-cape-town/
  2. It's ID is municipality-CPT

Add the ID to the geo_ids field in the URL, separated by a comma:

https://wazimap.co.za/data/distribution/?table=PARTY_VOTES_MUNICIPAL_2016&geo_ids=municipality|province-KZN,municipality-CPT&primary_geo_id=municipality-ETH&release=2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants