| generate_fake_from_schema | R Documentation |
Generate fake data from a DB schema data.frame
generate_fake_from_schema(sch_df, n = 30, seed = NULL)
sch_df |
A data.frame returned by |
n |
Number of rows to generate. |
seed |
Optional integer seed for reproducibility. |
A base data.frame with n rows and one column per schema
entry. Column classes follow the schema type values
(integer, numeric, character, logical, Date, POSIXct);
missingness is injected when nullable is TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.