Description Usage Arguments Details Value
Parse a CSV file's header, if present.
1 | parse_csv_header(obj, filename, header, enforce_requirements = TRUE)
|
obj |
The object to attach attributes to |
filename |
Fully-qualified filename |
header |
A vector of strings comprising the file header |
enforce_requirements |
Enforce mandatory fields? |
Headers are given at the top of files and consist of labels ("Title:", "Units:", etc)
prefixed by comment characters (#). The parser looks for these, and calls add_title
and
similar functions to return an empty data frame with appropriate attribute set.
An empty tibble
with appropriate attributes filled in.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.