-
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
ocds for coming "2019 United Kingdom general election" and existing parliament #181
ocds for coming "2019 United Kingdom general election" and existing parliament #181
Conversation
I was taking another look and realized I overlooked the OCD ID repository already contains United Kingdom OCD IDs using "uk" instead of "gb" for the country code from #156 I'm inclined to prefer the gb country code since it's the correct ISO 3166-1 alpha-2 code for United Kingdom. Perhaps we can alias the uk OCD IDs to the new gb ones? @jpmckinney @sguenther85 what do you think? |
@jloutsenhizer Yes, I missed that before merging #156. We should create the aliases, as the committers for #156 are using those codes. |
@jloutsenhizer @jpmckinney So we would have only the aliases for "gb" and all constituencies. |
Yes, I think adding aliases only for the ones which are currently duplicated in this PR is fine. I think having duplicate OCD IDs for the same divisions is worse than having some inconsistency in the canonical OCD IDs. |
Ok. @jloutsenhizer @jpmckinney |
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.
Aliases overall look good to me. I'm not sure whether we need to remove the original "uk" ocd IDs, @jpmckinney would know better.
Only thing left from me is missing headers on some of the csv files.
For the old OCD-IDs, @jloutsenhizer can you create a new issue tagging the participants from #156 about how we should transition to the gb OCDIDs? I figure we can either remove the old IDs (creating aliases where possible), or add a 'deprecated' column, if a hard transition isn't an option. |
I re-read the OCDEP – I think perhaps we should be using "corrections" files instead of aliases. Can we remove the aliases from this PR, and move that discussion to the proposed new issue? I also notice that the uk IDs don't have unnecessary nesting, i.e. all UK Parliament constituencies are right under country:uk, instead of nested under part and region. This is following the style in the OCDEP, e.g.:
Can we remove any unnecessary hierarchy in this PR? We'd only need it if if was necessary to disambiguate two otherwise identical IDs. |
Created #184 to continue discussion on migrating the country:uk OCD IDs. As for these identifiers, However, this leads to some strange IDs. For example, in Westmoreland County in Pennsylvania, there is a Donegal Township and a borough named Donegal. The OCD IDs respectively are: There's also places in Pennsylvania like Murrysville, which doesn't collide with the name of any other place in the United States, but we still include the state as a part of the OCD ID: In my opinion, it makes more sense to include the full path in the OCD ID when it's part of how the place is defined. In the case of these parliament constituencies, they are defined as subdivisions of the different parts of the UK, and within England as different subdivisions of larger regions within England. |
Sounds fine to me, if that is indeed how they are defined (e.g. by a boundary commission). Feel free to merge once the aliases are removed from this PR. |
Aliases have been removed again ;) |
Thank you for your patience :) |
No description provided.