Skip to contents

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

Usage

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] "Tax inspector"
x$name()
#> [1] "Artelia Walter"
x$color_name()
#> [1] "DarkOliveGreen"
x$safe_color_name()
#> [1] "Cornsilk"
x$hex_color()
#> [1] "#D7C101"
x$safe_hex_color()
#> [1] "#0000cc"
x$rgb_color()
#> [[1]]
#> [1] 237  53 175
#> 
x$rgb_css_color()
#> [1] "rgb(67, 28, 221)"

# different locales
## French
(y <- fraudster(locale = "fr_FR"))
#> <fraudster>
#>   locale: fr_FR
y$job()
#> [1] "Administrateur de mission humanitaire"

## Croatian
(z <- fraudster(locale = "hr_HR"))
#> <fraudster>
#>   locale: hr_HR
z$job()
#> [1] "Turistički pratitelj"

## Ukranian
(w <- fraudster(locale = "uk_UA"))
#> <fraudster>
#>   locale: uk_UA
w$job()
#> [1] "Інженер"
w$color_name()
#> [1] "Блідо-брунатний"

# geospatial
x$lat()
#> [1] 41.20823
x$lon()
#> [1] 53.6445
x$position()
#> [1] -145.14749   84.70886

# DOIs (Digital Object Identifier)
x$doi()
#> [1] "10.94080/kmez.84069935"