Skip to content
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

Allow applying visual properties to defined regions #54

Open
pdil opened this issue Jun 14, 2022 · 1 comment
Open

Allow applying visual properties to defined regions #54

pdil opened this issue Jun 14, 2022 · 1 comment
Labels
enhancement A suggestion or feature that improves existing functionality needs refinement Features, enhancements, or bugs that require more refinement before they are ready to be worked on
Milestone

Comments

@pdil
Copy link
Owner

pdil commented Jun 14, 2022

Is your feature request related to a problem? Please describe.
Users have requested the ability to define visual properties of the defined US Census Bureau regions such as borders and fill colors.

Describe the solution you'd like
A new shape file would probably have to be constructed where each state within the region is merged into a single entity. New parameters would have to be added to plot_usmap to define which regions' visual properties should be modified and how.

Describe alternatives you've considered
None, this idea will require some refinement and planning.

Additional context
Related StackOverflow questions:

@pdil pdil added enhancement A suggestion or feature that improves existing functionality needs refinement Features, enhancements, or bugs that require more refinement before they are ready to be worked on labels Jun 14, 2022
@pdil
Copy link
Owner Author

pdil commented Jan 15, 2024

This should be easier now that the package uses sf-based map objects (see #79). Once the desired regions are defined (possibly as a function input), sf methods can be used to combine the regions as desired.

@pdil pdil added this to the v0.8.0 milestone Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A suggestion or feature that improves existing functionality needs refinement Features, enhancements, or bugs that require more refinement before they are ready to be worked on
Projects
None yet
Development

No branches or pull requests

1 participant