get_grts_leaflet_map: Build leaflet map for Acoustic Stationary report in CONUS

Description Usage Arguments Examples

View source: R/geospatial.R

Description

Builds a leaflet map using a vector list of grts cells to add to a leaflet map. Shows where the project's grts cells live spatially. Keep in mind that the project_id and all_grts must be in CONUS.

Usage

1
get_grts_leaflet_map(all_grts, project_df, project_id, grts_with_data = NULL)

Arguments

all_grts

Character Vector all grts cell ids found from the survey_df dataframe by running unique(survey_df$grts_cell_id)

project_df

Dataframe output from get_projects()

project_id

Numeric or String a project id

grts_with_data

(optional) Character Vector or NULL

Examples

1
2
3
4
5
## Not run: 
map = get_grts_leaflet_map(all_grts       = unique(survey_df_$grts_cell_id),
                           grts_with_data = unique(auto_nights_df_$GRTS))

## End(Not run)

talbertc-usgs/NABatR documentation built on April 22, 2020, 8:23 p.m.