Description Usage Arguments Value See Also Examples
View source: R/eq_location_clean.R
Reformats location names of noaa raw data and extracts country names into new collumn.
1 | eq_location_clean(data, col = `Location Name`, country = COUNTRY)
|
data |
(tbl_df) raw noaa data imported with |
col |
(tidy eval syntax) column containing location name |
country |
(tidy eval syntax) column where country names are written to |
noaa dataframe with cleaned loaction and country names as tibble (see tbl_df
)
1 2 3 4 5 6 | ## Not run:
path <- system.file("extdata", "noaa_earthquakes.tsv", package = "noaa")
eq_read_data(path) %>%
eq_location_clean
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.