A fake base of customer support tickets

fake_base_clients(n, local = c("en_US", "fr_FR"), seed = 2811)

Arguments

n

the number of clients

local

the local of the base. Currently supported : "fr_FR" and "en_US".

seed

the random seed, default is 2811

Examples

fake_base_clients(n = 10)
#> # A tibble: 10 × 14
#>    num_client first    last    job     age region id_dpt departement cb_provider
#>  * <chr>      <chr>    <chr>   <chr> <dbl> <chr>  <chr>  <chr>       <chr>      
#>  1 1          Laney    Adams   Inve…    85 Midi-… 65     Hautes-Pyr… JCB 16 dig…
#>  2 2          Dr.      TalanZ… Auto…    18 Midi-… 81     Tarn        Voyager    
#>  3 3          Carlisle Cassin  Ward…    83 Limou… 23     NA          Voyager    
#>  4 4          Jadiel   FeestI… Engi…    42 NA     62     NA          JCB 16 dig…
#>  5 5          Ophelia  Winthe… Purc…    30 NA     68     Haut-Rhin   Diners Clu…
#>  6 6          Sierra   Hettin… Tran…    NA Prove… 05     Hautes-Alp… JCB 16 dig…
#>  7 7          Sydnee   Nitzsc… NA       50 Midi-… 81     Tarn        American E…
#>  8 8          Cade     Turcot… Prod…    43 Île-d… 93     Seine-Sain… NA         
#>  9 9          Leeroy   BeattyV Food…    40 NA     05     Hautes-Alp… Discover   
#> 10 10         Ammon    Dickens Acco…    36 Île-d… 93     Seine-Sain… VISA 16 di…
#> # … with 5 more variables: name <chr>, entry_date <dttm>,
#> #   fidelity_points <dbl>, priority_encoded <dbl>, priority <fct>
fake_base_clients(n = 10, local = "fr_FR")
#> # A tibble: 10 × 14
#>    num_client prenom nom   job     age region id_dpt departement gestionnaire_cb
#>  * <chr>      <chr>  <chr> <chr> <dbl> <chr>  <chr>  <chr>       <chr>          
#>  1 1          Marine L'Ma… Tech…    85 Bourg… 71     Saône-et-L… Diners Club / …
#>  2 2          Roland Pasc… Cons…    82 Centre 18     Cher        NA             
#>  3 3          Danie… L'Si… Offi…    82 Langu… 34     Hérault     VISA 16 digit  
#>  4 4          Mathi… Ruiz… Acou…    33 Rhône… 42     Loire       American Expre…
#>  5 5          Élise  Nava… Tech…    81 Rhône… 42     Loire       Diners Club / …
#>  6 6          Alice  Cout… Cons…    69 Midi-… 12     Aveyron     JCB 16 digit   
#>  7 7          Noémi… Alla… Méde…    NA Aquit… 24     Dordogne    JCB 15 digit   
#>  8 8          Benoît Guyon NA       46 Centre 18     Cher        JCB 15 digit   
#>  9 9          Adèle  Pare… Bota…    44 NA     54     NA          JCB 16 digit   
#> 10 10         Phili… Bért… Arch…    18 Rhône… 42     Loire       VISA 16 digit  
#> # … with 5 more variables: nom_complet <chr>, entry_date <dttm>,
#> #   points_fidelite <dbl>, priorite_encodee <dbl>, priorite <fct>