Skip to content

Commit

Permalink
May 2024 map data update (#31)
Browse files Browse the repository at this point in the history
🗺️ Updated map data based on latest shapefiles from the US Census
Bureau's [cartographic boundary files][1]. Review the changes and fix
any issues before merging.

### ✅ Review Checklist
- [x] Ensure all checks and tests pass
- [x] Load current branch with `devtools::install_github("usmapdata",
"data-update/May-2024")` and test `usmap`
- [x] Perform visual smoke test of all plotting features to ensure
consistency

### 📝 Post-merge Steps
- Update data file changelog in [`usmap/README.md`][2]
- Update [`usmapdata/NEWS.md`][3] with changes before next release

[1]:
https://www.census.gov/geographies/mapping-files/time-series/geo/cartographic-boundary.html
[2]: https://github.com/pdil/usmap/blob/master/README.md
[3]: https://github.com/pdil/usmapdata/blob/master/NEWS.md
  • Loading branch information
pdil authored May 10, 2024
2 parents f8995cc + 6dc1402 commit f2b078e
Show file tree
Hide file tree
Showing 24 changed files with 80 additions and 80 deletions.
2 changes: 1 addition & 1 deletion data-raw/scripts/config.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[shapefiles]
url = https://www2.census.gov/geo/tiger/GENZ{year}/shp/cb_{year}_us_{entity}_{res}.zip
current_year = 2022
current_year = 2023
entities = state,county
res = 20m

Binary file removed data-raw/shapefiles/cb_2022_us_county_20m.dbf
Binary file not shown.
Binary file removed data-raw/shapefiles/cb_2022_us_county_20m.shp
Binary file not shown.
Binary file removed data-raw/shapefiles/cb_2022_us_county_20m.shx
Binary file not shown.
Binary file removed data-raw/shapefiles/cb_2022_us_state_20m.dbf
Binary file not shown.
Binary file removed data-raw/shapefiles/cb_2022_us_state_20m.shx
Binary file not shown.
Binary file added data-raw/shapefiles/cb_2023_us_county_20m.dbf
Binary file not shown.
Binary file added data-raw/shapefiles/cb_2023_us_county_20m.shp
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gfc="http://www.isotc211.org/2005/gfc">
<gmx:name>
<gco:CharacterString>Feature Catalog for the 2022 Counties and Equivalent Areas Cartographic Boundary File</gco:CharacterString>
<gco:CharacterString>Feature Catalog for the 2023 County and Equivalent for United States Cartographic Boundary File</gco:CharacterString>
</gmx:name>
<gmx:scope>
<gco:CharacterString>Counties and Equivalent Areas</gco:CharacterString>
</gmx:scope>
<gmx:versionNumber>
<gco:CharacterString>2023-04</gco:CharacterString>
<gco:CharacterString>2024-05</gco:CharacterString>
</gmx:versionNumber>
<gmx:versionDate>
<gco:Date>2023-04</gco:Date>
<gco:Date>2024-05</gco:Date>
</gmx:versionDate>
<gmx:language>
<gco:CharacterString>eng; USA</gco:CharacterString>
Expand All @@ -30,7 +30,7 @@
<gfc:producer>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>U.S. Department of Commerce, U.S. Census Bureau, Geography Division, Customer Engagement Branch</gco:CharacterString>
<gco:CharacterString>U.S. Department of Commerce, U.S. Census Bureau, Geography Division</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
Expand Down Expand Up @@ -77,15 +77,15 @@
<gfc:featureType>
<gfc:FC_FeatureType>
<gfc:typeName>
<gco:LocalName>cb_2022_us_county_20m.shp</gco:LocalName>
<gco:LocalName>cb_2023_us_county_20m.shp</gco:LocalName>
</gfc:typeName>
<gfc:definition>
<gco:CharacterString>Current County and Equivalent (national)</gco:CharacterString>
<gco:CharacterString>County and Equivalent Entities (national)</gco:CharacterString>
</gfc:definition>
<gfc:isAbstract>
<gco:Boolean>false</gco:Boolean>
</gfc:isAbstract>
<gfc:featureCatalogue uuidref="cb_2022_us_county_20m.shp.ea.iso.xml"/>
<gfc:featureCatalogue uuidref="cb_2023_us_county_20m.shp.ea.iso.xml"/>
<gfc:carrierOfCharacteristics>
<gfc:FC_FeatureAttribute>
<gfc:memberName>
Expand Down Expand Up @@ -155,18 +155,18 @@
<gfc:carrierOfCharacteristics>
<gfc:FC_FeatureAttribute>
<gfc:memberName>
<gco:LocalName>AFFGEOID</gco:LocalName>
<gco:LocalName>GEOIDFQ</gco:LocalName>
</gfc:memberName>
<gfc:definition>
<gco:CharacterString>American FactFinder summary level code + geovariant code + '00US' + GEOID</gco:CharacterString>
<gco:CharacterString>Fully qualified geographic identifier; a concatenation of census survey summary level information with the GEOID attribute value. The GEOIDFQ attribute is calculated to facilitate joining census spatial data to census survey summary files.</gco:CharacterString>
</gfc:definition>
<gfc:cardinality gco:nilReason="unknown"/>
<gfc:definitionReference xlink:title="U.S Census Bureau"
xlink:href="http://www.ngdc.noaa.gov/docucomp/eb139e38-ee29-4d59-b157-5e874d4420c4"/>
<gfc:listedValue>
<gfc:FC_ListedValue>
<gfc:label>
<gco:CharacterString>American FactFinder geographic identifier</gco:CharacterString>
<gco:CharacterString>Fully Qualified GEOID</gco:CharacterString>
</gfc:label>
<gfc:definitionReference xlink:title="U.S Census Bureau"
xlink:href="http://www.ngdc.noaa.gov/docucomp/eb139e38-ee29-4d59-b157-5e874d4420c4"/>
Expand Down

Large diffs are not rendered by default.

Binary file added data-raw/shapefiles/cb_2023_us_county_20m.shx
Binary file not shown.
Binary file added data-raw/shapefiles/cb_2023_us_state_20m.dbf
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gfc="http://www.isotc211.org/2005/gfc">
<gmx:name>
<gco:CharacterString>Feature Catalog for the 2022 States and Equivalent Areas Cartographic Boundary File</gco:CharacterString>
<gco:CharacterString>Feature Catalog for the 2023 State and Equivalent Entities for United States Cartographic Boundary File</gco:CharacterString>
</gmx:name>
<gmx:scope>
<gco:CharacterString>States and Equivalent Areas</gco:CharacterString>
<gco:CharacterString>States and Equivalent Entities</gco:CharacterString>
</gmx:scope>
<gmx:versionNumber>
<gco:CharacterString>2023-04</gco:CharacterString>
<gco:CharacterString>2024-05</gco:CharacterString>
</gmx:versionNumber>
<gmx:versionDate>
<gco:Date>2023-04</gco:Date>
<gco:Date>2024-05</gco:Date>
</gmx:versionDate>
<gmx:language>
<gco:CharacterString>eng; USA</gco:CharacterString>
Expand All @@ -30,7 +30,7 @@
<gfc:producer>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>U.S. Department of Commerce, U.S. Census Bureau, Geography Division, Customer Engagement Branch</gco:CharacterString>
<gco:CharacterString>U.S. Department of Commerce, U.S. Census Bureau, Geography Division</gco:CharacterString>
</gmd:organisationName>
<gmd:contactInfo>
<gmd:CI_Contact>
Expand Down Expand Up @@ -77,15 +77,15 @@
<gfc:featureType>
<gfc:FC_FeatureType>
<gfc:typeName>
<gco:LocalName>cb_2022_us_state_20m.shp</gco:LocalName>
<gco:LocalName>cb_2023_us_state_20m.shp</gco:LocalName>
</gfc:typeName>
<gfc:definition>
<gco:CharacterString>Current State and Equivalent (national)</gco:CharacterString>
<gco:CharacterString>State and Equivalent Entities (national)</gco:CharacterString>
</gfc:definition>
<gfc:isAbstract>
<gco:Boolean>false</gco:Boolean>
</gfc:isAbstract>
<gfc:featureCatalogue uuidref="cb_2022_us_state_20m.shp.ea.iso.xml"/>
<gfc:featureCatalogue uuidref="cb_2023_us_state_20m.shp.ea.iso.xml"/>
<gfc:carrierOfCharacteristics>
<gfc:FC_FeatureAttribute>
<gfc:memberName>
Expand Down Expand Up @@ -133,18 +133,18 @@
<gfc:carrierOfCharacteristics>
<gfc:FC_FeatureAttribute>
<gfc:memberName>
<gco:LocalName>AFFGEOID</gco:LocalName>
<gco:LocalName>GEOIDFQ</gco:LocalName>
</gfc:memberName>
<gfc:definition>
<gco:CharacterString>American FactFinder summary level code + geovariant code + '00US' + GEOID</gco:CharacterString>
<gco:CharacterString>Fully qualified geographic identifier; a concatenation of census survey summary level information with the GEOID attribute value. The GEOIDFQ attribute is calculated to facilitate joining census spatial data to census survey summary files.</gco:CharacterString>
</gfc:definition>
<gfc:cardinality gco:nilReason="unknown"/>
<gfc:definitionReference xlink:title="U.S Census Bureau"
xlink:href="http://www.ngdc.noaa.gov/docucomp/eb139e38-ee29-4d59-b157-5e874d4420c4"/>
<gfc:listedValue>
<gfc:FC_ListedValue>
<gfc:label>
<gco:CharacterString>American FactFinder geographic identifier</gco:CharacterString>
<gco:CharacterString>Fully Qualified GEOID</gco:CharacterString>
</gfc:label>
<gfc:definitionReference xlink:title="U.S Census Bureau"
xlink:href="http://www.ngdc.noaa.gov/docucomp/eb139e38-ee29-4d59-b157-5e874d4420c4"/>
Expand Down
Loading

0 comments on commit f2b078e

Please sign in to comment.