Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
The county map should be able to display only counties in certain states using the
includeparameter.For example,
This can be fixed at this location in usmap.R:
The body of the
ifstatement should be changed to:This should work because both the county and state map files have columns
fips,full, andabbr.Updating this function also has the added side-effect of allowing users to specify any combination of states and counties to include using either FIPS code, state abbreviation, state name, or a mixture of the three.