- extract
An ipums_extract
object.
- description
Description of the extract.
- datasets
List of ds_spec
objects created by ds_spec()
containing the specifications
for the datasets
to include in the extract request. See examples.
If a dataset already exists in the extract, its new specifications
will be added to those that already exist for that dataset.
- time_series_tables
For NHGIS extracts, list of tst_spec
objects
created by tst_spec()
containing the specifications for the
time series tables
to include in the extract request.
If a time series table already exists in the extract, its new
specifications will be added to those that already exist for that time
series table.
- geographic_extents
For NHGIS extracts, vector of geographic
extents to use for all of the datasets
and time_series_tables
in the
extract definition (for instance, to obtain data within a specified state).
By default, selects all available extents.
Use get_metadata()
to identify the available extents for a given
dataset or time series table, if any.
- shapefiles
For NHGIS extracts, names of any
shapefiles to include in the extract
request.
- breakdown_and_data_type_layout
For NHGIS extracts, the desired
layout of any datasets
that have multiple data types or breakdown values.
Required if any datasets
included in the extract definition consist of
multiple data types (for instance, estimates and margins of error) or have
multiple breakdown values specified. See get_metadata()
to
determine whether a requested dataset has multiple data types.
- tst_layout
For NHGIS extracts, the desired layout of all
time_series_tables
included in the extract definition.
"time_by_column_layout"
(wide format, default): rows correspond to
geographic units, columns correspond to different times in the time
series
"time_by_row_layout"
(long format): rows correspond to a single
geographic unit at a single point in time
"time_by_file_layout"
: data for different times are provided in
separate files
Required when an extract definition includes any time_series_tables
.
- data_format
For NHGIS extracts, the desired format of the
extract data file.
"csv_no_header"
(default) includes only a minimal header in the first
row
"csv_header"
includes a second, more descriptive header row.
"fixed_width"
provides data in a fixed width format
Note that by default, read_ipums_agg()
removes the additional header row
in "csv_header"
files.
Required when an extract definition includes any datasets
or
time_series_tables
.
- ...
Ignored