Description Functions Data References
the quaker
package provides a set of functions to clean and prepare U.S. National Oceanographic and
Atmospheric Administration (NOAA) earthquake data, plot a timeline of earthquakes or map earthquake locations.
that might be of interest from quaker include
eq_clean_data
to clean and prepare the NOAA data after it has been read from the website
geom_timeline
to plot earthquake activity over time
geom_timeline_label
to annotate a geom_timeline plot with labels
eq_map
to map earthquake locations
the package includes quakes
a small data frame of earthquake data for quick sample use of the functions
Please refer to the vignette for more information.
The NOAA earthquake database https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1 and the data defintions can be found at https://www.ngdc.noaa.gov/nndc/struts/results?&t=101650&s=225&d=225
The approach used for cleaning and plotting data is that of the R tidyverse - more on this topic can be found at
https://www.tidyverse.org/ where useful aspects might be dplyr
for pipelines and data manipulation and
ggplot2
for charts - including the ggplot2 extension geoms included in this package.
The mapping functions are based on the R package leaflet
. More on this remarkable mapping tool can be
found at https://rstudio.github.io/leaflet/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.