Universal function to get region boundaries for any geographic area including US states, countries, CONUS, counties, or custom bounding boxes with comprehensive error handling.
Examples
# \donttest{
# US State with error handling
ohio_boundary <- get_region_boundary("Ohio")
#>
|
| | 0%
|
|================= | 25%
|
|================================ | 46%
|
|================================== | 49%
|
|================================================== | 71%
|
|============================================================== | 89%
|
|======================================================================| 100%
# Custom bounding box with validation
custom_area <- get_region_boundary(c(-84.5, 39.0, -82.0, 41.0))
# }
