displaySiteLocation | R Documentation |
This function displays the output of the stationInfo function in a table using the ggmap function.
displaySiteLocation(siteID, maptype = "satellite", zoom = 14)
siteID |
the USGS site identified for stream flow analysis |
maptype |
the Google Maptype to use |
zoom |
the zoom level on the map |
This function imports the location of the site from the USGS database then pins it on a map from Google
credit for this function goes to this link https://ryanpeek.github.io/2016-09-28-static_maps_in_R/ accessed July 2018
displaySiteLocation("02131000")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.