stage_meta_styx: Create/modify the meta_styx file

View source: R/stage_meta_styx.R

stage_meta_styxR Documentation

Create/modify the meta_styx file

Description

Create/modify the meta_styx file

Usage

stage_meta_styx(rows, on_exists = c("stop", "replace"), folder = tempdir(),
  verbose = FALSE)

Arguments

rows

a data frame with one or more rows, having the same columns as the existing meta_ file (if there is one). These rows will be inserted according to their site_name values.

on_exists

character indicating how to handle new rows whose site_name is already present in the current meta_ file If 'stop', an error will be thrown if even one value is duplicated. If 'replace', a message will be given and existing rows with site_name in rows$site_name will be replaced by the new rows.

folder

where to store the staged file

verbose

logical. give status messages?


USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.