read_table_by_header_spec | R Documentation |
Uses map_headers() to parse and map lists of expected column names and their designated names
read_table_by_header_spec(
file,
attributes_required,
attributes_optional = NULL,
regex_headers = NULL,
as_tibble_type = TRUE
)
file |
full file path for a CSV/TSV data table |
attributes_required |
see |
attributes_optional |
see |
regex_headers |
regex to be applied to all columns; these will be included |
as_tibble_type |
return data.table::fread() results as a tibble (DEFAULT), instead of data.table format |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.