ipums / ipumsr

Request, download, and read IPUMS data in R
https://tech.popdata.org/ipumsr/
Mozilla Public License 2.0
23 stars 5 forks source link

Correctly convert extracts with multiple shapefiles in tbl conversion #46

Closed robe2037 closed 1 year ago

robe2037 commented 1 year ago

extract_tbl_to_list() did not convert NHGIS extracts with multiple shapefiles correctly. These extract definitions were converted into multiple definitions; one for each shapefile included in the definition. This fix collapses shapefiles so they are all included in the original extract definition when converted from tibble to list.

Tibble-formatted extract history is being deprecated, but we might as well implement this fix until it is fully removed.