displaySiteLocation: displaySiteLocation

View source: R/DrawMaps.R

displaySiteLocationR Documentation

displaySiteLocation

Description

This function displays the output of the stationInfo function in a table using the ggmap function.

Usage

displaySiteLocation(siteID, maptype = "satellite", zoom = 14)

Arguments

siteID

the USGS site identified for stream flow analysis

maptype

the Google Maptype to use

zoom

the zoom level on the map

Details

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

Examples


displaySiteLocation("02131000")


Agriculturist/waterDataSupport documentation built on Jan. 28, 2023, 11:43 a.m.