ymd_bc: ymd_bc

Description Usage Arguments Examples

View source: R/eq_clean.R

Description

given a date in string format, returns a date in date format. Works with BC. Can handle lists

Usage

1

Arguments

date

a date in string format or a list of dates in string format

...

extra variables that may work wtih the lubridate::date function.

Examples

1
2
  test_data <- c('-2000 01 01', '500 05 30','1990 07 04')
  Earthquakes:::ymd_bc(test_data)

cmpear/Earthquakes documentation built on Feb. 1, 2020, 2:19 p.m.