Country entity¶
Generate countries with ISO code, language, phone code, and population data.
Why: Use Country when name, ISO code, language, phone code, and population must describe the same country; use a constant ISO code when the model is intentionally single-country.
1 | |
Output: Typed Country value.
Parameters¶
dataset:str | null; DefaultNone— Country dataset selecting the generated country's locale context.
Attributes¶
default_language_locale(str): Default language locale, such as de_DE.iso_code(str): ISO 3166-1 alpha-2 country code.name(str): Country name.phone_code(str): International dialing code.population(str): Population as provided by the dataset.
Limits¶
The available attributes and values depend on the registered entity, its dataset, and its documented constructor options.