Skip to contents

Create fake credit card data

Usage

ch_credit_card_provider(n = 1)

ch_credit_card_number(n = 1)

ch_credit_card_security_code(n = 1)

Arguments

n

(integer) number of things to get, any non-negative integer

Examples

ch_credit_card_provider()
#> [1] "Diners Club / Carte Blanche"
ch_credit_card_provider(n = 4)
#> [1] "Mastercard"       "American Express" "JCB 16 digit"     "JCB 16 digit"    

ch_credit_card_number()
#> [1] "4603005422860056"
ch_credit_card_number(n = 10)
#>  [1] "3337280842853437354" "4670403513237"       "3036607945005375"   
#>  [4] "4612642578613"       "3158266625244219484" "4263154058919066"   
#>  [7] "3795631789813654"    "180037663210110781"  "3528865671202978708"
#> [10] "3039051579788427"   
# or even ch_credit_card_number(n = 500)

ch_credit_card_security_code()
#> [1] "174"
ch_credit_card_security_code(n = 10)
#>  [1] "140"  "492"  "940"  "510"  "565"  "303"  "527"  "390"  "360"  "5139"
# or even ch_credit_card_security_code(n = 500)