Programmatically pull USA Sample IDs through IPUMSPY package?


A project I oversee would benefit greatly from being able to pull this data table into python through the ipumspy package: IPUMS USA: sample IDs

Is there any way to do this through ipumspy? Otherwise I would need to build a simple webscraper to make this info into a dataframe. Please let me know and thank you for all that you do!

The IPUMS API generally does not have the capability to extract metadata, with one exception. Luckily, the exception is in this exact case: extracting all sample information from IPUMS USA. See this command to retrieve sample descriptions and IDs for all samples.