set_ipums_default_collection("nhgis")
if (FALSE) {
# Extract info will now be retrieved for the default collection:
get_last_extract_info()
get_extract_history()
is_extract_ready(1)
get_extract_info(1)
# Equivalent to:
get_extract_info("nhgis:1")
get_extract_info(c("nhgis", 1))
# Other collections can be specified explicitly
# Doing so does not alter the default collection
is_extract_ready("usa:2")
}
# Remove the variable from the environment and .Renviron, if saved
set_ipums_default_collection(unset = TRUE)
Run the code above in your browser using DataLab