Description Usage Arguments Value Note Examples
This function reads a clean dataset of significant earthquake data provide by NOAA (National Centers for Environmental Information).
1 | geom_timeline(data, start_date, end_date, country)
|
data |
The data has been cleaned using eq_clean_data function |
start_date |
The first date to return data for viz |
end_date |
The last date to return data for viz |
country |
Provide country name like ITALY, NEW ZEALAND |
This function returns a ggplot timeline visualization with DATE on the x-axis, earthquake count on the y-axis where size of point indicates magnitude(EQ_MAG_ML) and color signifies Number of Deaths due to earthquake
Earthquakes that occurred BCE (Before Current Epoch) have been removed from the dataset because negative year values are not handled well.
1 2 3 4 | ## Not run:
geom_timeline(data, "2000-01-01", "2018-01-01", "NEW ZEALAND")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.