readMWRsites: Read site metadata from an external file

View source: R/readMWRsites.R

readMWRsitesR 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 checkMWRsites

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)

massbays-tech/MassWateR documentation built on April 12, 2025, 7:53 p.m.