Description Usage Arguments Details Value
View source: R/read_csv_count.R
'read_csv_count' and 'read_csv2_count'allows you to wrap the readr functions in order to make the usual dplyr counts without exploding the ram.
1 2 3 4 5 6 7 8 9 10 |
data_file |
Path to data and catalog files |
col_select |
the selected columns |
... |
some mutate to be done |
row_filter |
the filtering expression |
chunk_size |
the size of the chunks |
name |
the name of the columns for counts |
weight |
a column to be taken as weights for the counts |
col_types |
the column, types, like in readr. |
Everything is summarized, grouped by the output columns, and counted into the variable of name 'name' with a weight equal to 'weight'. You can add or modify the columns with the '...' as you would into a 'mutate', and you can filter the rows with a the argument 'row_filter' (as you would with 'filter').
a tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.