Description Usage Arguments Value Examples
This function reads an Earthquake dataset in a dataframe format to clean the LOCATION_NAME column by stripping out the country name (including the colon) and convert names to title case (as opposed to all caps).
1 | eq_location_clean(EarthquakeData)
|
EarthquakeData |
A dataframe. |
This function returns a data frame with the column LOCATION_NAME cleaned.
1 2 3 4 5 | ## Not run:
eq_location_clean(EarthquakeDataFrame)
eq_clean_data("signif.txt") %>% eq_location_clean()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.