Description Usage Arguments Value Examples
Produces a map with points indicating stations that contribute
to the weather data in the daily_data
data frame output by
daily_fips
.
1 2 | daily_stationmap(fips, daily_data, point_color = "firebrick",
point_size = 2, station_label = FALSE)
|
fips |
A five-digit FIPS county code. |
daily_data |
A list returned from the function |
point_color |
Character string with color for points
mapping the locations of weather stations (passes to |
point_size |
Character string with size for for points
mapping the locations of weather stations (passes to |
station_label |
TRUE / FALSE Whether to include labels for each weather station. |
A ggplot
object mapping all weather stations for a particular
county satisfying the conditions present in daily_df
's
arguments (date range, coverage, and/or weather variables). 2011 U.S.
Census cartographic boundary shapefiles are used to provide county
outlines.
1 2 3 4 5 6 7 8 9 | ## Not run:
miami_stations <- daily_stations(fips = "12086", date_min = "1992-08-01",
date_max = "1992-08-31")
daily_data <- daily_df(stations = miami_stations, coverage = 0.90,
var = c("tmax", "tmin", "prcp"),
date_min = "1992-08-01", date_max = "1992-08-31")
daily_stationmap(fips = "12086", daily_data = daily_data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.