View source: R/read_labelled_sheet.R
read_labelled_sheet | R Documentation |
Assumes variable labels are on row 1 and variable names are on row 2.
read_labelled_sheet(path, sheet, date_detect = NULL, start_row = 1L)
path |
to the xls/xlsx file, including data set name and extension |
sheet |
name of sheet to import |
date_detect |
regex expression indicating variables to be imported as dates |
start_row |
integer row position where labels are placed, defaults to 1L |
a tibble
## Not run:
d1 <- read_labelled_sheet(
path = here::here(path, dsn1),
sheet = "ae_listings",
date_detect = "cyc1_visdat|cyc2_visdat"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.