View source: R/read_field_xlsx.R
read_field_xlsx | R Documentation |
Read worksheet(s) of Multilevel Monitoring System (MLMS) field data in an Excel workbook.
read_field_xlsx(
path,
sheet = NULL,
pattern = "^[0-9]{1,2}-[0-9]{1,2}-[0-9]{2,4}$"
)
path |
'character' string. Path to the Excel workbook (xlsx) to read. |
sheet |
'character' vector.
Name of the Excel worksheet(s) to read.
Sheet names may also be specified via the |
pattern |
'character' string. A pattern (regular expression) used to identify worksheet names in the workbook. |
A list with data frame components.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
path <- system.file("extdata/ex-field.xlsx", package = "mlms")
l <- read_field_xlsx(path, sheet = "06-30-2022")
str(l, max.level = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.