ipumspy.api.IpumsApiClient.extract_was_purged

IpumsApiClient.extract_was_purged(extract, collection=None)[source]

Returns True if the IPUMS extract’s files have been purged from the cache.

extract: An extract object. This extract must have been submitted.

Alternatively, can be an extract id. If an extract id is provided, you must supply the collection name

collection: The name of the collection to pull the extract from. If None,

then extract must be a BaseExtract

Return type

bool