fake_ticket_client {fakir}R Documentation

Base ticket client

Description

Une fausse base client de ticket Telecom

Usage

fake_ticket_client(
  vol,
  x,
  n = 200,
  split = FALSE,
  seed = 2811,
  local = c("en_US", "fr_FR")
)

Arguments

vol

le nombre de tickets a retourner

x

Optionnal. fake client data base

n

Number of clients in the client database if x not provided

split

la base doit elle ĂȘtre separee en deux ?

seed

fixe la graine aleatoire

local

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

Details

Value

A dataframe of fake tickets.

Examples

x <- fake_ticket_client(1000, split = TRUE)
plot(x$clients$entry_date, x$clients$fidelity_points)
barplot(table(x$tickets$type))
barplot(table(x$tickets$state))


[Package fakir version 1.0.0 Index]