Skip to content

codelists: added titles to countryCode.csv #406

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrshll1001
Copy link
Contributor

In response to #349 which stipulated a requirement for titles in countrycodes.

List of titles was taken from the ISO 3166-1 alpha-2 codes, which corresponds with the codes used in this codelist. The wikipedia article suggests that these are the titles used by the ISO 3166 maintenance agency.

It should be acknowledged that this is not necessarily a value-neutral list of names.

Amendment was done mechanically through merging a table of the ISO 3166-1 alpha-2 codes and titles into the codelist file via csvkit. Manual tidying for strings done afterwards

In response to #349 which stipulated a requirement for titles in
countrycodes.

List of titles was taken from the ISO 3166-1 alpha-2 codes, which
corresponds with the codes used in this codelist. The wikipedia article
suggests that these are the titles used by the ISO 3166 maintenance
agency.

It should be acknowledged that this is not necessarily a value-neutral
list of names.

Amendment was done mechanically through copying the wikipedia table to a
spreadsheet, exporting as CSV and then merging via csvkit. Manual
tidying for strings done afterwards
@mrshll1001 mrshll1001 requested a review from KDuerden May 15, 2025 07:42
@mrshll1001
Copy link
Contributor Author

Hi @KDuerden, this PR raised in response to #349.

I believe this is a PATCH because no codes have changed, we've just added the missing "Title" column to each code.

I have also taken the liberty of wrapping all the strings in "" characters to ensure proper parsing, although we can probably safely remove them around the codes themselves if we felt the need.

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

Successfully merging this pull request may close these issues.

1 participant