Convert a list of ipums_extract objects to a
tibble in which each row contains the definition of
one extract. For an overview of ipumsr microdata API functionality, see
vignette("ipums-api", package = "ipumsr").
extract_list_to_tbl(extract_list)A list of ipums_extract objects.
A tibble with number of rows equal to the
length of extract_list, in which each row contains the definition
of one extract.
Other ipums_api:
add_to_extract(),
define_extract_cps(),
define_extract_from_json(),
define_extract_usa(),
download_extract(),
extract_tbl_to_list(),
get_extract_info(),
get_last_extract_info(),
get_recent_extracts_info,
ipums_data_collections(),
is_extract_ready(),
remove_from_extract(),
save_extract_as_json(),
set_ipums_api_key(),
submit_extract(),
wait_for_extract()
if (FALSE) {
# Get list of recent extracts
list_of_last_10_extracts <- get_recent_extracts_info_list("usa")
# Print the extract number for extracts that are downloadable:
for (extract in list_of_last_10_extracts) {
if (is_extract_ready(extract)) print(extract$number)
}
# Convert list of extracts to tibble of extracts to view in a tabular format
extract_list_to_tbl(list_of_last_10_extracts)
}