Skip to contents

Create Overview Map

Usage

TADA_OverviewMap(.data)

Arguments

.data

TADA data frame containing the data downloaded from the WQP, where each row represents a unique data record. Data frame must include the columns 'MonitoringLocationIdentifier','MonitoringLocationName','TADA.LatitudeMeasure', 'TADA.LongitudeMeasure', 'ResultIdentifier', 'ActivityStartDate', 'TADA.CharacteristicName', and 'OrganizationIdentifier' to run this function.

Value

A leaflet map that shows all sites in the data frame, where larger point sizes indicate more results collected at a site, and darker point colors indicate more characteristics measured at that site. Users can click on points on the map to see a pop-up window with exact counts for measurements (i.e. number of rows), visits (number of unique Activity ID's), and characteristics associated with each site.

Examples

if (FALSE) { # \dontrun{
# Load example data frame:
data(Data_Nutrients_UT)
data(Data_NCTCShepherdstown_HUC12)
data(Data_6Tribes_5y_Harmonized)

# Create maps:
TADA_OverviewMap(Data_Nutrients_UT)
TADA_OverviewMap(Data_NCTCShepherdstown_HUC12)
TADA_OverviewMap(Data_6Tribes_5y_Harmonized)
} # }