Generate random Finnish names from data supplied by the Finnish Population Register Centre.
The data is extracted from Excel spreadsheets available at avoindata.fi. If new Excel spreadsheets are made available, update the URLs in resource/source.edn and run (enne.data/retrieve!)
Generate random Finnish names from data supplied by the Finnish Population Register Centre. The data is extracted from Excel spreadsheets available at avoindata.fi. If new Excel spreadsheets are made available, update the URLs in resource/source.edn and run (enne.data/retrieve!)
(as-string [last-name & first-names])
Turn a name into a string.
Turn a name into a string.
(as-strings names)
Turn a list of names into strings.
Example:
(strings (male-names 3)) => ("Aartola, Süleyman Altti Joonathan" "Sarajärvi, Mio Samu Erno" "Yömaa, Romeo Phuc Aabel")
Turn a list of names into strings. Example: (strings (male-names 3)) => ("Aartola, Süleyman Altti Joonathan" "Sarajärvi, Mio Samu Erno" "Yömaa, Romeo Phuc Aabel")
(female-names)
(female-names n)
Generate an infinite sequence of (or n
if given) female names.
Returns a list where the first item is the last name and the rest are first names.
Example:
(female-names 1) => ((Brännare Anais Cassandra Therese))
Generate an infinite sequence of (or `n` if given) female names. Returns a list where the first item is the last name and the rest are first names. Example: (female-names 1) => ((Brännare Anais Cassandra Therese))
(generate last first middle)
Generate an infinite sequence of names.
Generate an infinite sequence of names.
(male-names)
(male-names n)
Generate an infinite sequence of (or n
if given) male names.
Returns a list where the first item is the last name and the rest are first names.
Example:
(male-names 1) => ((Höylä Jared Roobert))
Generate an infinite sequence of (or `n` if given) male names. Returns a list where the first item is the last name and the rest are first names. Example: (male-names 1) => ((Höylä Jared Roobert))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close