partition_table {basedosdados} | R Documentation |
partition_table
populates a folder
partition_table(.data, dir, ...)
.data |
a tibble. |
dir |
directory where to write the csv files. Must exist before function call. |
... |
comma-separated variables used to define groupings. |
invisibly returns all written files' addresses.
## Not run:
tibble(
x = rnorm(1000),
y = runif(1000) + x,
group = sample(letters, 1000, replace = TRUE)) %>%
partition_table(tempdir())
## End(Not run)