Convert recent extract definitions from tibble to list format
Source:R/deprec-extract-info.R
extract_tbl_to_list.Rd
Convert a tibble
of extract definition
specifications to a list of ipums_extract
objects
or vice versa.
Support for tabular extract history has been deprecated. Instead, use
get_extract_history()
to obtain definitions of recently-submitted
extracts as a list. To identify past extracts that meet certain criteria,
iterate through this list.
Arguments
- extract_tbl
A
tibble
(ordata.frame
) containing the specifications for one or moreipums_extract
objects.- validate
Logical value indicating whether to check that each of the output
ipums_extract
objects contains a valid and complete extract definition. Defaults toTRUE
.- extract_list
A list of
ipums_extract
objects or a singleipums_extract
object.
Value
For extract_tbl_to_list()
, a list of length equal to the number of
extracts represented in extract_tbl
.
For extract_list_to_tbl()
, a tibble
representing the specifications for each of the extract requests
represented in extract_list
.