-
Notifications
You must be signed in to change notification settings - Fork 93
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
ocd for '2019 Polish parliamentary election' and existing parliament #168
ocd for '2019 Polish parliamentary election' and existing parliament #168
Conversation
Newline issue
space in last line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment, otherwise looks good. Thanks.
# /state instead of /province
again new line problems with compiler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an odd line break issue with the merged file. Otherwise LGTM.
Paging @jpmckinney or @djbridges |
Since when is Do we need a canonical first-level administrative division type? I think it's better if each country uses the terms that make the most sense in the local context. If we need a way to determine the first-level administrative division type, then instead of forcing every country to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding to my above comment, I assume cd
stands for 'congressional district', like in the US.
In Canada, the more generic ed
is used for 'electoral district', which works since the lower house has constituencies, but the upper house doesn't.
I think Poland has constituencies at both levels, in which case ld
(lower-house division/district) and ud
(upper-house division/district) are one generic option that can be used.
I think one of the big challenges here is trying to balance the ease-of-creation for publishers (who may be in-country) and standardizing for consumers (who may be ingesting across countries). The top-level administrative division may be different in each country, but a name may be used for different levels in different countries. E.g., a "district" may be a type of sub-city jurisdiction in one country, but a sub-national jurisdiction in another. Here's the guidance from the OCD-ID documentation:
My proposal that I've been trying to use in order to balance the needs of both publishers and consumers is to use country-specific types as an alias for the canonical, standardized types. This puts the onus on first-time publishers to map their country-specific types to a set of standardized types, and the onus on consumers to resolve the aliases to the canonical identifiers. If there are other proposals out there around balancing the needs of both publishers and consumers I'm definitely open to figuring out how to improve the situation. |
A few points, with a few proposals:
|
extra line removed
regardless of the discussion here, is there anything else that should be adjusted? I think at least for now we have a good starting version with /state "and" /province as alias, or not? |
@jpmckinney Thanks for the feedback. CIL.
I was basing my comment on the OCD-ID documentation:
If the intention is that these are (essentially) US-only, then the documentation should be clarified to state that.
Sorry, I should have been a bit clearer. The part I was trying to highlight was The addition of a new type must be justified to convey the sense that adding a new type should be something that involves more discussion. I (perhaps incorrectly) assumed that the bar to adding aliased types was lower. Combined with the previous point, having the types explicitly listed in the documentation as canonical types and only adding new types as aliases seemed to be in line with the current documentation/best practices.
That sounds like a reasonable long-term solution. There are still short-term needs (i.e., on the order of days/weeks), and I'd like to get those sorted out, even if the answer is "branch the repo, use the branch, and re-merge when the long-term solution is in place."
To clarify, does this mean that the solution would have: Canonical: ocd-division/country:de/land:be or vice versa?
In general the type mapping seems to be more direct and compact. As recent commits may have indicated, at this point our main concern is finding ways to get consistent structure for countries, first-level administrative divisions, and national-level legislative body districts.
These recent PRs were (as I saw them) an attempt to adhere to the existing documentation and structure in places where guidance was not explicit, not to write new rules. It appears that this wasn't the case. I understand the desire/need to give country-level maintainers control over the creation and structure of types, but I'm worried that the current solution you've outlined places a significant burden on consumers of the identifiers to figure out what common types (e.g., first-level administrative divisions or legislative districts) are across countries. If changing that structure is going to require a governance change then I understand and support that process. We'll just need to do something on our end to support our short-term immediate needs (e.g., branching) while the long-term solution is put in place. In the extremely short term, what do you want to do about this PR? :) Commit, or should we branch and then commit to our private repo? |
Since there are very short term needs, let's merge as is but open a new issue to continue the discussion and propose answers to the open questions. |
Filed issue #170 to discuss long-term best practices. @jpmckinney To clarify, does this mean that we have approval for the Poland OCD-IDs as-is, and future PRs to this repo will need to wait for the resolution of that issue? |
Yes, approved. Further PRs can be approved on a case-by-case basis (eg balancing urgency against other considerations) while waiting for the new issue to be closed. |
Is there anything still do to here or can a second person now (after we created a own issue for the above discussion) approve this PR to use the ocds for the upcoming elections in 5 weeks? ;) |
Thanks. Merging. |
ocds for '2019 Polish parliamentary election' and existing parliament