Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 1.04 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.04 KB

Build Status

eqviz

NOAA Earthquakes visualization (Coursera Mastering Software Development in R Capstone)

This package is built for Mastering Software Development in R Capstone course using NOAA earthquakes data.

The pacakge eqviz has following functions for visualizations.

Data handling

  • eq_load_data: Load NOAA raw data into dataframe
  • eq_clean_data: Do housekeeping of data including type conversions and dropping unused columns
  • eq_location_clean: Keep location infos handy
  • helper_neg_dates: Convert BC dates into datetime object

Visualize on a timeline (GeomTimeline, GeomTimelineLabel)

  • geom_timeline: Main Geom function to plot earthquakes into a timeline
  • geom_timeline_label: Additional Geom function to label locations of the earthquakes

Mapping using Leaflet

  • eq_create_label: Create html text for popup in leaflet maps
  • eq_map: Plot leaflet map of earthquakes