Code reference¶
International Organization for Standardization (ISO).
Submodules
Functions
Generate codelists for all the databases in |
|
|
Generate 1 or more |
Return the |
|
|
Localize value in all languages available in translations. |
- transport_data.iso.generate_all() None[source]¶
Generate codelists for all the databases in
pycountry.DATABASE_INFO.
- transport_data.iso.generate_codelists(standard_number: str) None[source]¶
Generate 1 or more
Codelistwith entries from ISO standard_number.Codes have:
IDs according to id_field.
An
nameattribute localized to all the languages present in the upstream database.Annotations for all other fields in the upstream database.
- Parameters:
standard_number – ISO standard number, e.g. “3166-2” for ISO 3166-2.