Description Usage Arguments Value Examples
Read raw NOAA data of earthquake and returns a clean data frame The clean data frame contains: 1. A date column created by uniting the year, month, day and converting it to the Date class 2. LATITUDE and LONGITUDE columns converted to numeric class 3. LOCATION_NAME column by stripping out the country name (including the colon) and converts names to title case (as opposed to all caps). The function eq_location_clean() is integrated into eq_clean_data() function to aviod redundent functions.
1 2 | eq_clean_data(raw_data_fn = file.path(system.file("extdata", package =
"MasterRcap"), "signif.txt"))
|
raw_data_fn |
A path to the raw data filename, default to the signif.txt delivered by the package |
A clean data.frame
1 2 3 4 | ## Not run:
clean_data <- read_eq_clean_data()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.