US earthquakes with a magnitude of 2.5 or greater, occurring in the
first half of 2019, from January 1st to June 30th, from USGS.
The data is formatted for transforming with usmap_transform
.
Once the longitude and latitude is transformed, it can be added to
plot_usmap
using ggplot2
layers.
data(earthquakes)
A data frame with 2254 rows and 3 variables.
lon
The longitude of the earthquake's location.
lat
The latitude of the earthquake's location.
mag
The magnitude of the earthquake.