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

no_voter_precincts do not include the PCT area ID prefix #2

Open
carl3 opened this issue Jun 9, 2019 · 0 comments
Open

no_voter_precincts do not include the PCT area ID prefix #2

carl3 opened this issue Jun 9, 2019 · 0 comments

Comments

@carl3
Copy link
Member

carl3 commented Jun 9, 2019

The IDs for precincts are area IDs of the form PCTnnnn, and use the PCT prefix. This prefix could be stripped when printing. The election.no_voter_precincts is a list of precinct IDs without the PCT prefix. These should probably be converted to IDs with the prefix, consistent with the contest.no_voter_precincts.

The no_voter_precincts list could be converted into pointers to the precinct area object.

Also, the name and short name need some fixes, e.g.
"name": "Precinct 1151 MB",
"short_name": "Precinct 1151 MB",

The short name should just be the precinct number, and MB should be removed from the name since it's redundant with is_vbm.

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

1 participant