lter_POSIXct: Convert LTER date and numeric sampletime into POSIXct

Description Usage Arguments Examples

Description

LTER has a integer numeric format for times where the 100's place is used for hours, and the 10's place is used for minutes. This function takes a date and that LTER time and returns a POSIXct representation.

Usage

1
lter_POSIXct(sampledate, sampletime, tz = "GMT")

Arguments

sampledate

LTER sampledate, typically in YYYY-MM-DD format. Sometimes has additional 00:00:00 appended.

sampletime

LTER sampletime, a numeric value where 100 is 1:00, 130 is 1:30, 30 is 0:30, and etc.

tz

Timezone for output POSIXct value.

Examples

1
nice_r_datetime = lter_POSIXct('2014-01-01', 1230)

clairervh/LTERdata documentation built on May 12, 2019, 2:05 p.m.