Description Usage Arguments Details Value Examples
This function takes a dataframe and drops date related NAs, converts data types to appropriate type, removes pre-BC dates due to low information, fixes date parts that do not fit conventionall format, and returns a cleaned dataframe.
1 |
df |
The raw dataframe with at least Year, Month, Day, Country, Location_Name, Latitude, Longitiude, EQ_Primary, and TOtal Death fields |
Takes a dataframe of earthquake information and drops date realted NAs, changes the date parts to integers, filters for post-BC dates, fixes dates components to YYYY-MM-DD format, combines date parts into a DATE field, and changes remaing fields to proper type.
Returns a tbl_df date.frame
1 | ## Not run: eq_clean_data(df= data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.