Skip to contents

Produces random identifiers that pass the same structural and checksum validation as real ones, for tests, demos and detector benchmarks. They are random, not taken from any real record. A random number with a valid checksum can still coincide with a real one by chance, so treat generated data as test data and never as anonymised data.

Usage

synth_indian_pii(n = 10, seed = NULL)

Arguments

n

Number of rows.

seed

Optional random seed; the global RNG state is restored afterwards. Names are random combinations of common Indian first names and surnames; email addresses use the reserved example.com/example.org domains.

Value

A data frame with columns name, name_hi (Devanagari), aadhaar, aadhaar_vid, pan, gstin, card, voter_epic, passport, driving_licence, mobile, email, upi_id, ifsc, bank_account, abha_number, abha_address, pincode, address, ckyc, ration_card, nrega_job_card, card_cvv and card_expiry.

Examples

synth_indian_pii(3, seed = 1)
#>          name   name_hi      aadhaar      aadhaar_vid        pan
#> 1 Priya Verma सुनीता सिंह 599533986585 6576037886365045 NVFPV2208Y
#> 2 Rohan Gupta   पूजा देवी 478675962950 5086625199621900 TIEPC1750X
#> 3 Aarav Menon  रमेश कुमार 771155022754 9979467457029200 NQCPG1663S
#>             gstin             card voter_epic passport driving_licence
#> 1 16IZMCK2781E6ZN 4027850348473082 YII2886846 E1747969 OR0020120865312
#> 2 19ZBBPC9793L4ZA 4404399874455116 OYF3397091 L2618317 HR9019939560060
#> 3 36SQBBC4846N2ZX 4739744776330931 FDC9003445 O1413255 UA2920052614997
#>       mobile                     email        upi_id        ifsc
#> 1 7850788572 priya.verma44@example.com   priya92@ibl SBIN0263884
#> 2 9220330744 rohan.gupta29@example.com rohan27@oksbi HDFC0424769
#> 3 9928642386 aarav.menon31@example.org aarav53@paytm PUNB0915140
#>         bank_account       abha_number   abha_address pincode
#> 1          718877839 24-9167-2905-2323 priya.v94@abdm  204495
#> 2      3493671049847 14-1960-0591-9215 rohan.g94@abdm  396844
#> 3 839514305702025763 42-8755-3465-2339 aarav.m55@abdm  388441
#>                                    address           ckyc  ration_card
#> 1 House No 55, Gandhi Marg, Lucknow 204495 70527339340454 UA9752217565
#> 2 House No 208, Anna Salai, Chennai 396844 48935385375075 733453713123
#> 3  House No 250, Civil Lines, Delhi 388441 74408512765829 199932610934
#>           nrega_job_card card_cvv card_expiry
#> 1 TS-19-935-086-744/5388      926       04/30
#> 2 TN-13-996-329-564/9784      680       08/30
#> 3 NL-50-327-352-097/2290      385       05/32