Fraudster - catch all client to make all types of fake data

fraudster(locale = NULL)

Arguments

locale

(character) the locale to use. options: en_US (default), fr_FR, fr_CH, hr_FR, fa_IR, pl_PL, ru_RU, uk_UA, zh_TW.

Examples

# English - the default locale
(x <- fraudster())
#> <fraudster>
#>   locale: en_US
x$job()
#> [1] "Analytical chemist"
x$name()
#> [1] "Tamra Mante"
x$color_name()
#> [1] "LightYellow"
x$safe_color_name()
#> [1] "Tan"
x$hex_color()
#> [1] "#B936DA"
x$safe_hex_color()
#> [1] "#ff9966"
x$rgb_color()
#> [[1]]
#> [1] 121  53 198
#> 
x$rgb_css_color()
#> [1] "rgb(189, 27, 42)"

# different locales
## French
(y <- fraudster(locale = "fr_FR"))
#> <fraudster>
#>   locale: fr_FR
y$job()
#> [1] "Ingénieur forage"

## Croatian
(z <- fraudster(locale = "hr_HR"))
#> <fraudster>
#>   locale: hr_HR
z$job()
#> [1] "Zapovjednik plovila (vrsta A, vrsta B, vrsta C)"

## Ukranian
(w <- fraudster(locale = "uk_UA"))
#> <fraudster>
#>   locale: uk_UA
w$job()
#> [1] "Журналіст"
w$color_name()
#> [1] "Жовто-персиковий"

# geospatial
x$lat()
#> [1] 23.93664
x$lon()
#> [1] -144.2264
x$position()
#> [1] -13.31847 -58.98408

# DOIs (Digital Object Identifier)
x$doi()
#> [1] "10.47954/ayjp.20511023"