Description Usage Arguments Details Value Examples
Clean up the format of LOCATION_NAME column in a NOAA dataframe (see eq_clean_data
for more details)
1 |
data |
A data frame with raw data from NOAA (see details) |
cleans the LOCATION_NAME column by stripping out the country name (including the colon) and converts names
to title case (as opposed to all caps). This function is only used inside eq_clean_data
, not exported.
data A data frame with cleaned LOCATION_NAME format
1 2 3 4 5 | ## Not run:
data <- readr::read_delim("earthquakes.tsv.gz", delim = "\t")
clean_data <- eq_location_clean(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.