okcurobs: Retrieve Oklahoma Mesonet current observations

Description Usage Arguments Details Value See Also Examples

View source: R/okcurobs.R

Description

Retrieve current observations from all Oklahoma Mesonet stations.

Usage

1
  okcurobs(SI = TRUE, localtime = TRUE)

Arguments

SI

logical; if TRUE, convert observations to SI units. See 'Details'.

localtime

logical; if TRUE output time is local to Oklahoma. If FALSE, output time is Coordinated Universal Time (UTC).

Details

See Current Observations for variable and unit description. Current observations are stored in 'American' units. SI=TRUE converts to the 'International System of Units' (though Celsius is used instead of Kelvin for temperature).

A TIME variable of class POSIXct is added. localtime=TRUE returns TIME as local Oklahoma time; localtime=FALSE returns TIME as UTC.

Value

A data frame with current observations.

See Also

okmts

Examples

1
2
3
4
5
## Not run: 
## Retrieve current observations.
curobs <- okcurobs()

## End(Not run)

okmesonet documentation built on May 2, 2019, 6:39 a.m.