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

Documentation on how to create division IDs for other countries #2

Closed
jpmckinney opened this issue May 17, 2013 · 4 comments
Closed

Comments

@jpmckinney
Copy link
Member

I would love to add Canada, likely to a separate repo.

@jamesturk
Copy link
Member

To make it easier on partners we're hoping they can be added to this repo.
I'll work on some docs but here are the basics:

You'd want to create a country-ca directory in identifiers (don't create a
country-ca.csv, that'll be auto-generated)

You can define whatever mappings you want in as many CSVs as needed, and
then run

(requires py3)
./scripts/verify.py ca

That'll run basic validation on the ids and then spit them out into the
country-ca.csv

I'm still deciding what the best publication mechanism is, I think some
sort of tagging of releases makes sense so that vendors that are adopting
these ids can know when they need to update.

On Thu, May 16, 2013 at 8:46 PM, James McKinney notifications@github.comwrote:

I would love to add Canada, likely to a separate repo.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

@jpmckinney
Copy link
Member Author

Is there any way to translate labels? Canada has English and French labels for its electoral districts.

@jamesturk
Copy link
Member

Hm, my first thought is to use a mapping for one language. There's a
directory of mapping files that basically map the ids to other ids/strings.
Right now we're just using it to map ids to geoids but it could be useful
for this too. If you have opinions about the best way to handle it let me
know.

On Tue, May 21, 2013 at 5:41 PM, James McKinney notifications@github.comwrote:

Is there any way to translate labels? Canada has English and French labels
for its electoral districts.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-18242979
.

@jpmckinney
Copy link
Member Author

This answers my question, up to you if you want to close.

jpmckinney pushed a commit that referenced this issue Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants