Fixtures v0.0.1 Fixtures.Geography View Source

Geography generation like cities and countries.

Link to this section Summary

Functions

Random large city in the US.

Random large city in the US.

Random country with ISO and name.

Random country with ISO and name.

Random locale.

Link to this section Functions

Random large city in the US.

Link to this function

city(settings, key, opts \\ [])

View Source
city(Keyword.t(), atom(), Keyword.t()) :: String.t()

Random large city in the US.

Link to this function

country(opts \\ [])

View Source
country(Keyword.t()) :: %{iso: String.t(), name: String.t()}

Random country with ISO and name.

Link to this function

country(settings, key, opts \\ [])

View Source
country(Keyword.t(), atom(), Keyword.t()) :: %{
  iso: String.t(),
  name: String.t()
}

Random country with ISO and name.

Random locale.

Link to this function

locale(settings, key, opts \\ [])

View Source
locale(Keyword.t(), atom(), Keyword.t()) :: String.t()

Random locale.