Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches: [ master ]
jobs:
run_tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

strategy:
fail-fast: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
run_tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

strategy:
fail-fast: true
Expand Down
7 changes: 7 additions & 0 deletions docs/source/change-log.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ This project adheres to `Semantic Versioning`_.

.. _Semantic Versioning: http://semver.org/

0.6.2
-----
2025-04-18

* A typo that was preventing IPUMS MEPS extracts from downloading was corrected.


0.6.1
-----
2025-02-25
Expand Down
11 changes: 6 additions & 5 deletions docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ project at the top of its website, which can be accessed from the `IPUMS homepag

Once you're registered, you'll be able to create an `API key <https://account.ipums.org/api_keys>`__.

For security reasons, we recommend storing your key in an environment variable rather than including it in your code.
The Conda documentation provides
`instructions for saving environment variables <https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#saving-environment-variables>`__
in conda environments for different operating systems. The example code on this page assumes that the
API key is stored in an environment variable called ``IPUMS_API_KEY``.
.. attention::
For security reasons, we recommend storing your key in an environment variable rather than including it in your code.
The Conda documentation provides
`instructions for saving environment variables <https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#saving-environment-variables>`__
in conda environments for different operating systems. The example code on this page assumes that the
API key is stored in an environment variable called ``IPUMS_API_KEY``.

A Simple Example
****************
Expand Down
2,373 changes: 1,310 additions & 1,063 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ipumspy"
version = "0.6.1"
version = "0.6.2"
description = "A collection of tools for working with IPUMS data"
authors = ["Kevin H. Wilson <kevin_wilson@brown.edu>",
"Renae Rodgers <rodge103@umn.edu>"]
Expand Down Expand Up @@ -30,7 +30,7 @@ pytest = "^8.3.4"
pytest-cov = "^4.0.0"
python-dotenv = "^1.0.0"
fastapi = "^0.109.2"
uvicorn = {extras = ["standard"], version = "^0.20.0"}
uvicorn = {extras = ["standard"], version = "^0.34.1"}
pytest-recording = "^0.12.2"
vcrpy = "^4.2.1"

Expand Down
2 changes: 1 addition & 1 deletion src/ipumspy/api/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def _get_collection_type(collection: str) -> str:
"ahtus": "microdata",
"mtus": "microdata",
"nhis": "microdata",
"meps:": "microdata",
"meps": "microdata",
"nhgis": "aggregate_data",
}

Expand Down