-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simultaneous plotting of counties and states #26
Labels
new feature
A new feature that adds functionality to the package
wontfix
A suggestion or bug report that has been rejected by the package maintainers
Milestone
Comments
pdil
added
the
enhancement
A suggestion or feature that improves existing functionality
label
Oct 2, 2019
pdil
added
needs refinement
Features, enhancements, or bugs that require more refinement before they are ready to be worked on
new feature
A new feature that adds functionality to the package
and removed
enhancement
A suggestion or feature that improves existing functionality
labels
Nov 6, 2020
pdil
added
wontfix
A suggestion or bug report that has been rejected by the package maintainers
and removed
needs refinement
Features, enhancements, or bugs that require more refinement before they are ready to be worked on
labels
Jan 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
new feature
A new feature that adds functionality to the package
wontfix
A suggestion or bug report that has been rejected by the package maintainers
Is your feature request related to a problem? Please describe.
There should be a way to plot both states and counties simultaneously. For example, plotting Alaska as a state with several Alaskan counties also outlined within them (possibly with different aesthetic features).
Describe the solution you'd like
This needs more thought but perhaps a boolean parameter to
plot_usmap
indicating that theinclude
/exclude
parameters that are states should be plotted as states and counties should be plotted as counties (instead of just following what is defined in theregions
parameter).Describe alternatives you've considered
Currently, the only way to achieve something like this is to create two separate
plot_usmap
objects (one for the states and one for counties) and then combine them by extracting the$layers[[1]]
object from theplot_usmap
object which is both not ideal and could be unreliable ifggplot2
behavior were to be changed in a future update.For example:
The text was updated successfully, but these errors were encountered: