Learn R Programming

countyfloods (version 0.0.2)

map_county: Maps flood data by county

Description

Creates a state level map of flood analysis output by county. Counties are color coded based on the percentage of gages in that county at or exceeding a given flood magnitude.

Usage

map_county(county_stats, category = "minor")

Arguments

county_stats
Data frame of flood analyasis results, summarized by county.
category
Character string of the flood magnitude category to be used for mapping (one of "minor", "moderate", "major", or "extreme"). This parameter only works when mapping county-level, rather than gage-level, values.

Value

A map of counties color coded by percentage of gages experiencing flooding.