Description Usage Arguments Details Value Examples
This function cleans the LOCATION_NAME colunm in a dataset from NOAA, by stripping out the country name (including the colon) and converts names to title case (as opposed to all caps)
1 |
data |
data frame from NOAA, Default: NULL |
this function uses the character vector "country_names" included in this package. For more details type ?country_names.
a data frame with any other column in the original data frame.
1 2 3 4 5 6 7 | ## Not run:
if(interactive()){
clean_data <- eq_location_clean(data = Earthquakes)
head(clean_data)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.