read_csvy {csvy} | R Documentation |
Import CSVY data
Description
Import CSVY data as a data.frame
Usage
read_csvy(file, metadata = NULL, stringsAsFactors = FALSE,
detect_metadata = TRUE, ...)
Arguments
file |
A character string or R connection specifying a file. |
metadata |
Optionally, a character string specifying a YAML (“.yaml”) or JSON (“.json”) file containing metadata (in lieu of including it in the header of the file). |
stringsAsFactors |
A logical specifying whether to treat character columns as factors. Passed to |
detect_metadata |
A logical specifying whether to auto-detect a metadata file if none is specified (and if no header is found). |
... |
Additional arguments passed to |
See Also
Examples
read_csvy(system.file("examples", "example1.csvy", package = "csvy"))
[Package csvy version 0.3.0 Index]