Description Usage Arguments Value Examples
eq_count_events
assembles a summary data frame showing a count of
earthquakes for each country for a given date range.
1 | eq_count_events(df, minimum_date, maximum_date)
|
df |
A data frame containing the earthquake data. |
minimum_date |
A date value representing the minimum date used to filter observations. |
maximum_date |
A date value representing the maximum date used to filter obvserations. |
A data frame containing the count of earthquakes by country in descending order by count. If an error or warning occurs, a message will be printed to the console and the function will return NULL.
1 2 3 4 5 6 | ## Not run:
df <- eq_count_events(df,
minimum_date = "2000-01-01",
maximum_date = "2017-12-31")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.