Description Usage Arguments Details Value Note Examples
View source: R/data_preparation.R
Cleans earthquake location data
1 | eq_location_clean(raw_data)
|
raw_data |
A data frame with raw data obtained from NOAA website |
This function transforms NOAA raw data frame's LOCATION_NAME column by trimming the country name (if applicable) and converting to title case
A data frame with cleaned LOCATION_NAME column
The function is not exported
1 2 3 4 5 | ## Not run:
raw_data <- readr::read_delim("data.gz", delim = "\t")
clean_data <- eq_location_clean(raw_data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.