View Source Fixtures.Geography (Fixtures v0.0.11)

Geography generation like cities and countries.

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.

Functions

@spec city(Keyword.t()) :: String.t()

Random large city in the US.

Link to this function

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

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

Random large city in the US.

@spec 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
@spec country(Keyword.t(), atom(), Keyword.t()) :: %{
  iso: String.t(),
  name: String.t()
}

Random country with ISO and name.

@spec locale(Keyword.t()) :: String.t()

Random locale.

Link to this function

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

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

Random locale.