Faker: Add Brazilian citizen id and its docs

Created on 15 May 2018  路  9Comments  路  Source: faker-ruby/faker

This feature request should be assigned to a Brazilian. If you're interested, please drop us a line.

If you'd like to understand more about this issue, you should check Faker's Spanish citizen id and docs PR: https://github.com/stympy/faker/pull/1147 out. The idea is pretty similar, but we'd like to add Brazilian locales.

Feature Request

All 9 comments

@lucasqueiroz check this issue out and let me know if you'd be interested in working on this feature.

I'd be interested, but I have limited time this week. I can work on this on the weekend, probably. If anyone wants to do it before, feel free :)

@thalesap you could work on this

Just making sure, would this be for CPFs or RGs? Or both? Also I haven't found any reference about how to calculate the RNE (Registro Nacional de Estrangeiros) number. Should we leave this number out?

I think we could have both methods. How does that sound to you?

I think CPF is like SSN and ID is like RG for us.

Sure, both are really simple to implement

I believe there is a base 10/11 method already, so wouldn't be too hard

thanks @lucasqueiroz

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ggrillone picture ggrillone  路  6Comments

SylarRuby picture SylarRuby  路  3Comments

lassiter picture lassiter  路  3Comments

kevgathuku picture kevgathuku  路  4Comments

elangovan-selvaraj picture elangovan-selvaraj  路  6Comments