Packages

BeamLabCountries is a collection of all sorts of useful information for every country in the [ISO 3166](https://wikipedia.org/wiki/ISO_3166) standard. It includes country data, subdivisions (states/provinces), international organizations, language information, and country name translations.

Current section

Files

Jump to
beamlab_countries lib country.ex
Raw

lib/country.ex

defmodule BeamLabCountries.Country do
@moduledoc """
Country struct.
"""
defstruct [
:number,
:alpha2,
:alpha3,
:currency,
:name,
:flag,
:unofficial_names,
:continent,
:region,
:subregion,
:geo,
:world_region,
:country_code,
:national_destination_code_lengths,
:national_number_lengths,
:international_prefix,
:national_prefix,
:ioc,
:gec,
:un_locode,
:languages_official,
:languages_spoken,
:nationality,
:address_format,
:dissolved_on,
:eu_member,
:alt_currency,
:vat_rates,
:postal_code,
:currency_code,
:start_of_week
]
end