setWUstation: set meteorological stations

Description Usage Arguments Examples

View source: R/utility_tools.R

Description

Set primary and secondary meteorological stations associated with one or more cities of the same state

Usage

1
setWUstation(st, UF, datasource = con)

Arguments

st

data.frame containing municipio_geocodigo, primary_station, secondary_station

UF

name of the state.Ex. "Rio de Janeiro"

senha

for the connection to the project database

Examples

1
2
3
4
5
NOT RUN
wudata = data.frame(municipio_geocodigo = 3107802, primary_station = "SBIP",
secondary_station = "SBGV")
setWUstation(wudata, UF = "Minas Gerais")
getWUstation(cities =wudata$municipio_geocodigo)

claudia-codeco/AlertTools documentation built on Aug. 12, 2021, 9:58 a.m.