- description
Description of the extract.
- datasets
List of dataset specifications for any
datasets
to include in the extract request. Use ds_spec()
to create a
ds_spec
object containing a dataset specification. See examples.
- time_series_tables
List of time series table specifications for any
time series tables
to include in the extract request. Use tst_spec()
to create a
tst_spec
object containing a time series table specification. See
examples.
- shapefiles
Names of any shapefiles
to include in the extract request.
- geographic_extents
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.
- breakdown_and_data_type_layout
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
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
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
.