charlatan
Create fake data in R. Contribute to ropensci/charlatan development by creating an account on GitHub.
R's fake-data generator rebuilt its provider hierarchy so contributors can add one locale without touching the rest.
◆Recent moves
- 7mo ago
Docs rebuild surfaces a duplicate Norwegian phone pattern
No code changes — a documentation rebuild under a newer devtools, during which CRAN checks flagged a duplication in the Norwegian PhoneNumberProvider. The rest of the entry is CRAN and R-universe download links.
View source ↗ - 1y ago
Provider classes restructured so locales can override single functions
⚡ SPARKThe provider hierarchy is rebuilt around a BareProvider and locale-specific providers inheriting from parent providers, replacing the naming-convention-driven loading that made adding an unusual locale expensive. For a package whose worth is locale breadth, this is the release aimed squarely at its growth constraint.
View source ↗ - 6y ago
New locales and providers; allowed_locales() added
Phone number support arrives for Danish, New Zealand, Indonesian, Thai and Ghanaian locales, InternetProvider gains slug and MiscProvider gains boolean generators, and each R6 provider exposes allowed_locales() while hiding the underlying vector. A contributing vignette lands alongside — an early attempt at the problem 0.6.1 later solved structurally.
View source ↗ - 7y ago
Locale naming standardised; French and Danish data corrected
Locale codes are standardised to the xx_XX form, Denmark moves from dk_DK to da_DK for ISO-3166 compliance, and contributed fixes clean up French accents, Danish phone formats and duplicate names. Correctness work on the data itself, which is what makes generated records plausible.
View source ↗ - 8y ago
charlatan v0.2.2
Examples now run conditionally on the presence of suggested packages. A CRAN-check fix with no effect on generated data.
View source ↗ - 8y ago
Six new providers broaden charlatan beyond names and addresses
Internet, UserAgent, File, Lorem, Misc and Elements providers arrive together, moving the package from a person-and-address generator toward general-purpose test data. stringi and iptools drop to Suggests, and missing locale data returns an empty string instead of erroring.
View source ↗