# About the IPUMS API category

**URL:** <https://forum.ipums.org/t/about-the-ipums-api-category/49>\
**Category:** IPUMS API\
**Created:** [January 15, 2019, 8:54pm UTC](https://forum.ipums.org/t/about-the-ipums-api-category/49 "2019-01-15T20:54:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![grover](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.ipums.org/grover/32/5_2.png) [@grover](https://forum.ipums.org/u/grover)\
**Post date:** [January 15, 2019, 8:54pm UTC](https://forum.ipums.org/t/about-the-ipums-api-category/49/1 "2019-01-15T20:54:57Z")

</div>

The ![fa-flask](https://us1.discourse-cdn.com/flex019/uploads/ipums/original/1X/347ad2cdd9b264df03a43d96cdd85681fb557dcc.png)[IPUMS API program](https://developer.ipums.org/docs/apiprogram/) is a new way to get access to IPUMS data programmatically without needing to manually interact with our websites. The IPUMS API is still in active development, with new features and data collection support being released on a regular basis.

📑 Read more about our current API capabilities at [developer.ipums.org](http://developer.ipums.org)

Not sure what the IPUMS API is? See this brief explanation:

> [@What is an IPUMS API?](https://forum.ipums.org/t/what-is-an-ipums-api/2915):
>
> The IPUMS API will provide programmatic access to IPUMS metadata and data without having to interact directly with one of the IPUMS websites. Previously, data could only be retrieved from IPUMS by logging into a website and selecting variables/datasets/tables from a filterable list. Nothing! Our website will remain available for users who prefer this method of browsing and retrieving data. We agree it is a great way for humans to explore what is available, but it is not so great for computers.…

---

<div class="post-metadata">

**Author:** ![Whitney\_Webber](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@Whitney\_Webber](https://forum.ipums.org/u/Whitney_Webber)\
**Post date:** [March 22, 2024, 6:02pm UTC](https://forum.ipums.org/t/about-the-ipums-api-category/49/2 "2024-03-22T18:02:25Z")

</div>

I’d like to use the API to access the IPUMS USA 2018-2022, ACS 5-year sample. I ran get\_sample\_info(“usa”) and didn’t see it in the list of available samples, but it looks like it is available for download on the website. Can you advise?

---

<div class="post-metadata">

**Author:** ![Isabel\_Pastoor](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.ipums.org/isabel_pastoor/32/788_2.png) [@Isabel\_Pastoor](https://forum.ipums.org/u/Isabel_Pastoor)\
**Post date:** [March 22, 2024, 8:58pm UTC](https://forum.ipums.org/t/about-the-ipums-api-category/49/3 "2024-03-22T20:58:44Z")

</div>

Please try the command get\_sample\_info(collection = “usa”) and let me know if you continue to have issues.

---

<div class="post-metadata">

**Author:** ![Whitney\_Webber](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@Whitney\_Webber](https://forum.ipums.org/u/Whitney_Webber)\
**Post date:** [March 22, 2024, 10:51pm UTC](https://forum.ipums.org/t/about-the-ipums-api-category/49/4 "2024-03-22T22:51:16Z")

</div>

> [@Isabel\_Pastoor](#):
>
> get\_sample\_info(collection = “usa”)

Thanks! I tried it and I’m still only seeing 152 observations through us2022b. Another question as well…I used SAS to run the 2017-2021 ACS 5-Year Estimates using an IPUMS file created in July 2023. Now, I’m testing out the API extract in R created today. I’m noticing a difference in the distribution for the POVERTY variable. Same sample, just different ways of extracting the data on different dates. Do you know what might account for the difference?

---

<div class="post-metadata">

**Author:** ![Isabel\_Pastoor](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.ipums.org/isabel_pastoor/32/788_2.png) [@Isabel\_Pastoor](https://forum.ipums.org/u/Isabel_Pastoor)\
**Post date:** [April 5, 2024, 7:17pm UTC](https://forum.ipums.org/t/about-the-ipums-api-category/49/5 "2024-04-05T19:17:21Z")

</div>

Thank you for your patience in awaiting a response.

We looked into what you describe with the ipumsr package, and determined that the correct, most updated list of available samples was not displaying. We have fixed the issue and you should now see all the currently available samples when you use the command get\_sample\_info(collection = “usa”).

Regarding your question about POVERTY, in February of this year, IPUMS made updates to the variables POVERTY and FAMUNIT to address a problem with how POVERTY was calculated individually and within families. Thus, estimates derived using POVERTY will differ between data extracted before and after February 6, 2024. You can read more about the changes that were made in the [revision history](https://usa.ipums.org/usa-action/revisions).

---

<div class="post-metadata">

**Author:** ![Whitney\_Webber](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@Whitney\_Webber](https://forum.ipums.org/u/Whitney_Webber)\
**Post date:** [April 12, 2024, 6:03pm UTC](https://forum.ipums.org/t/about-the-ipums-api-category/49/6 "2024-04-12T18:03:51Z")

</div>

> [@Isabel\_Pastoor](#):
>
> Regarding your question about POVERTY, in February of this year, IPUMS made updates to the variables POVERTY and FAMUNIT to address a problem with how POVERTY was calculated individually and within families. Thus, estimates derived using POVERTY will differ between data extracted before and after February 6, 2024. You can read more about the changes that were made in the [revision history](https://usa.ipums.org/usa-action/revisions).

Thank you very much for your response! I greatly appreciate the fix to the ipumsr package and clarification on the POVERTY calculation.
