map_reserve | R Documentation |
Create a map of all the stations in a reserve
map_reserve(nerr_site_id, text_sz = 6, text_col = "black", f = 0.2)
nerr_site_id |
chr string of the reserve to map, first three characters used by NERRS or vector of stations to map using the first five characters |
text_sz |
numeric value for text size of station names, passed to |
text_col |
chr string for text color of station names, passed to |
f |
numeric passed to |
This function is a simple wrapper to functions in the ggmap package which returns a map of all of the stations at a NERRS reserve. The f
argument may have to be chosen through trial and error depending on the spatial extent of the reserve. A local data file included with the package is used to get the latitude and longitude values of each station. The files includes only active stations as of January 2015.
A ggplot
object for plotting.
get_map
, ggmap
, ggplot
## Not run:
map_reserve('jac')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.