It generates animal species with optional language parameter. Default address is English.
Examples
Bird
Generates a random bird species in the specified language. Supported languages: :ar
, :de
, :en
, :es
, :fr
, :tr
. Defaults to :en
if no language is specified.
( :require [dataimitator.animal.birds :refer [random-bird]]))
;; Generate a random bird species with the default language (English)
( def default-bird ( random-bird ))
( println " Default Bird (English): " default-bird )
;; Generate a random bird species in Spanish
( def spanish-bird ( random-bird :es ))
( println " Random Bird (Spanish): " spanish-bird)
;; Generate a random bird species in French
( def french-bird ( random-bird :fr ))
( println " Random Bird (French): " french-bird)
;; Generate a random bird species in German
( def german-bird ( random-bird :de ))
( println " Random Bird (German): " german-bird)
;; Generate a random bird species in Arabic
( def arabic-bird ( random-bird :ar ))
( println " Random Bird (Arabic): " arabic-bird)
;; Generate a random bird species in Turkish
( def turkish-bird ( random-bird :tr ))
( println " Random Bird (Turkish): " turkish-bird)
Cat
Generates a random cat species in the specified language. Supported languages: :ar
, :de
, :en
, :es
, :fr
, :tr
. Defaults to :en
if no language is specified.
( :require [dataimitator.animal.cats :refer [random-cat]]))
;; Generate a random cat species with the default language (English)
( def default-cat ( random-cat ))
( println " Default Cat (English): " default-cat )
;; Generate a random cat species in Spanish
( def spanish-cat ( random-cat :es ))
( println " Random Cat (Spanish): " spanish-cat)
;; Generate a random cat species in French
( def french-cat ( random-cat :fr ))
( println " Random Cat (French): " french-cat)
;; Generate a random cat species in German
( def german-cat ( random-cat :de ))
( println " Random Cat (German): " german-cat)
;; Generate a random cat species in Arabic
( def arabic-cat ( random-cat :ar ))
( println " Random Cat (Arabic): " arabic-cat)
;; Generate a random cat species in Turkish
( def turkish-cat ( random-cat :tr ))
( println " Random Cat (Turkish): " turkish-cat)
Dog
Generates a random dog species in the specified language. Supported languages: :ar
, :de
, :en
, :es
, :fr
, :tr
. Defaults to :en
if no language is specified.
( :require [dataimitator.animal.dogs :refer [random-dog]]))
;; Generate a random dog species with the default language (English)
( def default-dog ( random-dog ))
( println " Default Dog (English): " default-dog )
;; Generate a random dog species in Spanish
( def spanish-dog ( random-dog :es ))
( println " Random Dog (Spanish): " spanish-dog)
;; Generate a random dog species in French
( def french-dog ( random-dog :fr ))
( println " Random Dog (French): " french-dog)
;; Generate a random dog species in German
( def german-dog ( random-dog :de ))
( println " Random Dog (German): " german-dog)
;; Generate a random dog species in Arabic
( def arabic-dog ( random-dog :ar ))
( println " Random Dog (Arabic): " arabic-dog)
;; Generate a random dog species in Turkish
( def turkish-dog ( random-dog :tr ))
( println " Random Dog (Turkish): " turkish-dog)
Fish
Generates a random fish species in the specified language. Supported languages: :ar
, :de
, :en
, :es
, :fr
, :tr
. Defaults to :en
if no language is specified.
( :require [dataimitator.animal.fishes :refer [random-fish]]))
;; Generate a random fish species with the default language (English)
( def default-fish ( random-fish ))
( println " Default Fish (English): " default-fish )
;; Generate a random fish species in Spanish
( def spanish-fish ( random-fish :es ))
( println " Random Fish (Spanish): " spanish-fish)
;; Generate a random fish species in French
( def french-fish ( random-fish :fr ))
( println " Random Fish (French): " french-fish)
;; Generate a random fish species in German
( def german-fish ( random-fish :de ))
( println " Random Fish (German): " german-fish)
;; Generate a random fish species in Arabic
( def arabic-fish ( random-fish :ar ))
( println " Random Fish (Arabic): " arabic-fish)
;; Generate a random fish species in Turkish
( def turkish-fish ( random-fish :tr ))
( println " Random Fish (Turkish): " turkish-fish)