Skip to content

ipumsr 0.8.0

Choose a tag to compare

@dtburk dtburk released this 10 Jul 15:23

Breaking changes + deprecations

  • Collection-specific definition functions for IPUMS microdata projects
    have been deprecated in favor of define_extract_micro(). This
    streamlines syntax across all supported microdata collections. Use the
    collection argument to specify the collection for your
    microdata extract.

    IPUMS NHGIS extracts are still created with
    define_extract_nhgis().

  • Previously deprecated methods for retrieving extract history are now
    defunct. Use get_extract_history() instead.

New features

  • Adds support for IPUMS API extract endpoints for IPUMS Time Use and
    IPUMS Health Surveys projects! This includes:

    • IPUMS Time Use

      • IPUMS ATUS ("atus")

      • IPUMS AHTUS ("ahtus")

      • IPUMS MTUS ("mtus")

    • IPUMS Health Surveys

      • IPUMS NHIS ("nhis")

      • IPUMS MEPS ("meps")

  • Adds support for new rectangularization options for certain
    microdata collections. Use the rectagular_on argument in your
    extract definition to rectangularize on records other than person
    ("P") records.

  • Time use variables can be included in IPUMS Time Use extracts. Use
    the tu_var_spec() helper with the time_use_variables argument of
    define_extract_micro() to create a time use variable
    specification.

    This includes both IPUMS-defined and user-defined time use variables. Note
    that user-defined time use variables cannot currently be created via API.
    However, if you have defined a time use variable through the IPUMS web
    interface, you can request it in an extract via API.

  • Sample members can be specified in IPUMS ATUS extracts. Use the
    sample_members argument of define_extract_micro() to do so.

  • "household_only" is now a supported value for data_structure in
    IPUMS USA extracts.

Minor improvements and fixes

  • Fixes bug in add_to_extract.micro_extract() that caused an error if a user
    attempted to update the value of data_quality_flags in a detailed variable
    specification.