| data_read | R Documentation |
Supports CSV, TSV, RDS, Excel (.xlsx, .xls), Stata (.dta), SPSS (.sav, .zsav, .por), and SAS (.sas7bdat, .xpt) file formats.
data_read(path, delim = NULL, keep_attributes = FALSE, ...)
path |
Dot notation path (e.g. "source.private.example") or direct file path |
delim |
Optional delimiter for CSV files ("comma", "tab", "semicolon", "space") |
keep_attributes |
Logical flag to preserve special attributes (e.g., haven labels). Default: FALSE (strips attributes) |
... |
Additional arguments passed to read functions (readr::read_delim, readxl::read_excel, haven::read_*, etc.) |
The loaded data, typically a data frame or tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.