eq_build_date: Building dates form NOAA raw data

Description Usage Arguments Value See Also Examples

View source: R/read_and_clean_NOAA_data.R

Description

Take 3 numeric as input: year, mounth and day (of the month). Year must be a valid 4 digit year. If month is NA, month is set to 01 (January), if day is NA, day of the month is set to 1.

Usage

1

Arguments

data

raw NOAA data

Value

Date

See Also

eq_clean_data

Examples

1
2
3
4
5
6
## Not run: 
source_noaa <- system.file("extdata","signif.txt",package="NOAAsignifEarthQuakes",mustWork=TRUE)
noaa_raw <- load_NOAA_db(source_noaa)
noaa_raw %>%dplyr::select('DAY','MONTH','YEAR') %>% eq_build_date()

## End(Not run)

BreizhZut/NOAAsignifEarthQuakes documentation built on Nov. 10, 2019, 3:45 p.m.