neomatrixcode / Faker.jl

generator of fake data for julia
https://faker.vercel.app/
MIT License
52 stars 11 forks source link

Add fake U.S. Social Security Numbers #29

Open aalexandersson opened 2 years ago

aalexandersson commented 2 years ago

Is your feature request related to a problem? Please describe. Yes, I need fake U.S. Social Security Numbers (SSN) as part of new public datasets for testing record linkage. Unfortunately, Faker.jl does not have the feature of faking SSN.

Describe the solution you'd like I would like Faker.jl to add a provider for SSN.

Describe alternatives you've considered Python Faker has a provider implementation at https://github.com/joke2k/faker/blob/master/faker/providers/ssn/en_US/__init__.py but I prefer Julia. I could not find SSN being implemented in one of the existing providers for Faker.jl.

Additional context If the feature is added, then the package would be very useful to many researchers and institutions for testing record linkage on public datasets. Personally, I need it for my work at the Florida cancer registry. I also need fake data for full name, date of birth, gender, street address and zip code; it seems that Faker.jl already can do this. I am a beginner Julia user, willing and able to learn more and to test any feature of the package, especially if the requested feature is added.

neomatrixcode commented 2 years ago

hello @aalexandersson

Thank you very much for your contribution, I will try to add the functionality as soon as possible, it will be ready in the next version of the package.

Thank you very much.

neomatrixcode commented 2 years ago

https://github.com/JuliaRegistries/General/pull/55751

neomatrixcode commented 2 years ago

The changes have been added to Faker 0.3.5, thank you very much for your collaboration