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)

Arguments

extract_list

A list of ipums_extract objects.

Value

A tibble with number of rows equal to the length of extract_list, in which each row contains the definition of one extract.

Examples

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)
}