get_grts_leaflet_map | R Documentation |
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.
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.