parse_rbr_download_date: parse_rbr_download_date

View source: R/parse_rbr_download_date.R

parse_rbr_download_dateR Documentation

parse_rbr_download_date

Description

RBR files typically save the date in the downloaded file name. This function parses that date to a POSIXct

Usage

parse_rbr_download_date(fn, tz = "UTC")

Arguments

fn

character scalar or vector of file name(s)

tz

character timezone

Value

POSIXct datetime

Examples

dt <- parse_rbr_download_date('20141117_1240')
dt <- parse_rbr_download_date('201adf41a11a7_1240')

jkennel/rbr documentation built on Feb. 15, 2023, 1:37 a.m.