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

create unique IDs for precincts #23

Open
katiejolly opened this issue Dec 12, 2018 · 1 comment
Open

create unique IDs for precincts #23

katiejolly opened this issue Dec 12, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@katiejolly
Copy link
Collaborator

Per Patrick's comment, we can make the IDs for precincts unique by adding the county ID and concatenating the two

@katiejolly katiejolly added the enhancement New feature or request label Dec 12, 2018
@migurski
Copy link

Because the precincts can change places between elections while maintaining these IDs, I would recommend using an opaque identifier like a UUID4.

If you’d prefer to the ID to be meaningful at the expense of durability, consider an OCD ID to match what’s in Open Elections.

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

No branches or pull requests

3 participants