ipums_list_files | R Documentation |
Identify the files that can be read from an IPUMS extract.
ipums_list_files(
file,
file_select = NULL,
types = NULL,
data_layer = deprecated(),
shape_layer = deprecated(),
raster_layer = deprecated()
)
file |
Path to a .zip archive containing the IPUMS extract to be examined. |
file_select |
If the path in While less useful, this can also be provided as a string specifying an exact file name or an integer to match files by index position. |
types |
One or more of The use of |
data_layer , shape_layer , raster_layer |
A tibble
containing the types and names of
the available files.
read_ipums_micro()
or read_nhgis()
to read tabular data
from an IPUMS extract.
read_ipums_sf()
to read spatial data from an IPUMS extract.
nhgis_file <- ipums_example("nhgis0712_csv.zip")
# 2 available files in this extract
ipums_list_files(nhgis_file)
# Look for files that match a particular pattern:
ipums_list_files(nhgis_file, file_select = matches("ds136"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.