# Add station metadata
met_added <- add.station.metadata(
Agency = "Foo Bar",
StationID = "01234",
StnName = "Example Station",
StateProv = "Example State",
Country = "Example Country",
Lat = 40.0,
Lon = -89.0,
CatchmentArea_km2 = 500,
RHN = TRUE,
StationID_Alternate = "01234A",
Overwrite = FALSE
)
# Remove the added station metadata
met_removed <- remove.station.metadata(
Agency = "Foo Bar",
StationID = "01234"
)
Run the code above in your browser using DataLab