Description Usage Arguments Details Value Examples
View source: R/eq_clean_data.R
The function Cleans the data for further analysis.
1 |
data |
A Dataframe |
We would clean the data by
first creating a DATE column, which would be contain the Year,Month and Day merged together in ymd format The column 'Search Parameter' contains no items, hence it would also be removed The COUNTRY column would contain the country entry from the 'Location Name' column The 'Location.Name' would contain the city or region name from the 'Location Name' column
A Dataframe
1 2 3 4 5 6 | ## Not run:
data = system.file('extdata', 'earthquakesData.tsv', package ='masteringSoftwareDevelopmentinR')
data = read_data(data)
cleanedData <- eq_clean_data(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.