## Not run: ------------------------------------
# # Get station table
# stations <- isd_stations()
# head(stations)
#
# ## plot stations
# ### remove incomplete cases, those at 0,0
# df <- stations[complete.cases(stations$lat, stations$lon), ]
# df <- df[df$lat != 0, ]
# ### make plot
# library("leaflet")
# leaflet(data = df) %>%
# addTiles() %>%
# addCircles()
#
# # Search for stations by various inputs
# ## bounding box
# bbox <- c(-125.0, 38.4, -121.8, 40.9)
# (out <- isd_stations_search(bbox = bbox))
#
# ## lat, long, radius
# isd_stations_search(lat = 38.4, lon = -123, radius = 250)
#
# ### then plot...
## ---------------------------------------------
Run the code above in your browser using DataLab