You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added support for Puerto Rico in map creation and transform support
functions.
* `us_map()` defaults to excluding Puerto Rico, but this can be changed
by setting the `USMAP_EXCLUDE_PR = FALSE` environment variable.
* Removed `as_sf` parameter, no longer in use anyway.
* Add check results to `release` workflow artifacts with a link in the
PR body template.
* Updated all shapefiles (2021-2024) to include PR.
closes#48closes#49
Copy file name to clipboardExpand all lines: NEWS.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# [unreleased]
2
2
3
+
### New Features
4
+
* Puerto Rico has been added!
5
+
* Finally, after years of procrastinating, Puerto Rico has finally been added to the map, see [Issue #48](https://github.com/pdil/usmapdata/issues/48).
6
+
* All included map files have been retroactively updated to include Puerto Rico, so any valid value of `data_year` will include Puerto Rico if desired.
7
+
*`us_map()` and `fips_data()` both return Puerto Rico in their data sets and it can be included or excluded just like any state (using FIPS, full name, abbreviation, etc.).
8
+
* Special thanks [@dcaud](https://github.com/dcaud) who started this work [years ago](https://github.com/pdil/usmap/pull/34).
9
+
10
+
### Enhancements
11
+
*`include` now takes precedence over `exclude` in `us_map()`.
12
+
* Any items that are in both the `include` and `exclude` vectors will be _included_.
13
+
14
+
### Removed
15
+
* The `as_sf` parameter has been completely removed from `us_map()`, `centroid_labels()`, and `fips_data()`.
16
+
* It was no longer used by `usmap` nor did it have any effect if set.
17
+
* Any existing code that sets it can safely delete it from `usmapdata` function calls.
18
+
3
19
# usmapdata 0.6.0
4
20
Released Saturday, June 14, 2025.
5
21
@@ -51,7 +67,6 @@ Released Sunday, February 4, 2024.
51
67
This update continues the `sf` migration by setting the `as_sf` parameter to default to the behavior of `TRUE`. This parameter no longer has any effect, as explained below. The next phase will involve updating `usmap` to no longer make use of this parameter, in which case it can be completely removed.
52
68
53
69
### Removed
54
-
55
70
* The `as_sf` parameter is now deprecated and no longer has any effect.
56
71
* As part of this removal, the default behavior for `us_map()`, `centroid_labels()`, and `fips_data()` is equivalent to `as_sf = TRUE` which is to return their data as an `sf` object (see `0.2.0` release notes for more details).
57
72
* This parameter will be completely removed in a future version but continues to exist for compatibility reasons.
0 commit comments