csv_reader: Custom CSV reading function

Description Usage Arguments Value

View source: R/utils.R

Description

Checks for use of memoise and then uses vroom::vroom.

Usage

1
csv_reader(file, verbose = FALSE, guess_max = 1000, ...)

Arguments

file

A URL or filepath to a CSV

verbose

Logical, defaults to TRUE. Should verbose processing messages and warnings be returned.

guess_max

Maximum number of records to use for guessing column types. Defaults to a 1000.

...

extra parameters to be passed to vroom::vroom

Value

A data table


covidregionaldata documentation built on Feb. 7, 2022, 9:07 a.m.