all_coor_ws: all_coor_ws() retrieve weather station within a region (...

Description Usage Arguments Value Examples

Description

The function retrieves all NOAA weather station (ws) data available in a region ( State/County ) related to the weather variable under investigation (type).

Usage

1
all_coor_ws(ghcnd, geoid, type)

Arguments

ghcnd

String that refers to the Global Historical Climate Network (daily) dataset

geoid

FIPS number from census tables (tiger files)

type

Variable name under investigation i.e. TMAX, TMIN, PRCP

Value

Data frame of NULL if error occurs

Examples

1
2
3
4
ghcnd <- 'GHCND'
geoid <- '12087'
type  <- 'PRCP'
all_coor_ws( ghcnd, geoid, type)

rabravo/ws2pgdb documentation built on May 26, 2019, 8:51 p.m.