Description Usage Arguments Examples
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.
1 | get_grts_leaflet_map(all_grts, project_df, project_id, grts_with_data = NULL)
|
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 |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.