Learn R Programming

neotoma2 (version 1.0.8)

plotLeaflet,sites-method: plotLeaflet

Description

Plot sites on a leaflet map

Usage

# S4 method for sites
plotLeaflet(object)

Value

leaflet map

Arguments

object

Sites object to plot

Examples

Run this code
# \donttest{
# Note that by default the limit for queries is 25 records:
tryCatch({
modernSites <- get_sites(keyword = "Modern")
plotLeaflet(modernSites)
}, error = function(e) {
 message("Neotoma server not responding. Try again later.")
})
# }

Run the code above in your browser using DataLab