readMWRsites {MassWateR} | R Documentation |
Read site metadata from an external file
Description
Read site metadata from an external file
Usage
readMWRsites(sitpth, runchk = TRUE)
Arguments
sitpth |
character string of path to the site metadata file |
runchk |
logical to run data checks with |
Details
Data are imported with read_excel
and checked with checkMWRsites
.
Value
A formatted data frame of site metadata that can be used for downstream analysis
Examples
sitpth <- system.file('extdata/ExampleSites.xlsx', package = 'MassWateR')
sitdat <- readMWRsites(sitpth)
head(sitdat)
[Package MassWateR version 2.1.4 Index]