Skip to main content

A package to create representative microdata for the US.

Project description

PolicyEngine US Data

Installation

While it is possible to install via PyPi:

pip install policyengine-us-data

the recommended installation is

pip install -e .[dev]

which installs the development dependencies in a reference-only manner (so that changes to the package code will be reflected immediately); policyengine-us-data is a dev package and not intended for direct access.

Building the Paper

Prerequisites

The paper requires a LaTeX distribution (e.g., TeXLive or MiKTeX) with the following packages:

  • graphicx (for figures)
  • amsmath (for mathematical notation)
  • natbib (for bibliography management)
  • hyperref (for PDF links)
  • booktabs (for tables)
  • geometry (for page layout)
  • microtype (for typography)
  • xcolor (for colored links)

On Ubuntu/Debian, you can install these with:

sudo apt-get install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended

On macOS with Homebrew:

brew install --cask mactex

Building

To build the paper:

make paper

To clean LaTeX build files:

make clean-paper

The output PDF will be at paper/main.pdf.

Building the Documentation

Prerequisites

The documentation uses Jupyter Book 2 (pre-release) with MyST. To install:

# Install Jupyter Book 2 pre-release
pip install --pre "jupyter-book==2.*"

# Install MyST CLI
npm install -g mystmd

Building

To build and serve the documentation locally:

cd docs
myst start

Or alternatively from the project root:

jupyter book start docs

Both commands will start a local server at http://localhost:3001 where you can view the documentation.

The legacy Makefile command:

make documentation

Note: The Makefile uses the older jb command syntax which may not work with Jupyter Book 2. Use myst start or jupyter book start docs instead.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

policyengine_us_data-1.44.0.tar.gz (8.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

policyengine_us_data-1.44.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file policyengine_us_data-1.44.0.tar.gz.

File metadata

  • Download URL: policyengine_us_data-1.44.0.tar.gz
  • Upload date:
  • Size: 8.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for policyengine_us_data-1.44.0.tar.gz
Algorithm Hash digest
SHA256 4893590e19460cf3303bb4c99ac81aadfe3eddb22fed3f4d45f1d65bd9c8ec0b
MD5 959f7635ae448f412b194c30c8819245
BLAKE2b-256 2f1f2fd7c8657b004a2df7fe4df6397aa890d24fa844d37dff330a905ec17bf2

See more details on using hashes here.

File details

Details for the file policyengine_us_data-1.44.0-py3-none-any.whl.

File metadata

File hashes

Hashes for policyengine_us_data-1.44.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5f93dbcaccc463d82a6f19c1422f1157b265ed685b3525f63f28abd65f4864d
MD5 e0c52e89f9d89d95bd6e4ec8b7f6ed21
BLAKE2b-256 fa3608310d9ae6ed23e2cc411ab851444d975d67831de5cfcce93f9f4e83189a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page