my_extract <- define_extract_usa("Example", "us2013a", "YEAR")
if (FALSE) {
submitted_extract <- submit_extract(my_extract)
# Check if extract is ready by supplying an ipums_extract object:
is_extract_ready(submitted_extract)
# By supplying the data collection and extract number, as a string:
is_extract_ready("usa:1")
# Note that there is no space before or after the colon, and no zero-padding
# of the extract number.
# By supplying the data collection and extract number, as a vector:
is_extract_ready(c("usa", "1"))
}
Run the code above in your browser using DataLab