Skip to content

cornerstone-data/bedrock

Repository files navigation

bedrock

License

See the LICENSE on appropriate use of bedrock and ATTRIBUTION.md for the attribution requirement.

Setup

After cloning the repository, in the root directory:

  1. Install google-cloud-sdk: See Google Cloud documentation for instructions.

  2. Install uv, Python, and dependencies:

    # Install uv (if not already installed)
    ./scripts/install-uv
    
    # Install Python dependencies
    ./scripts/install-deps

    Note: uv will automatically use the Python version in uv.lock when running uv sync. The Python version is installed within a virtual env managed by uv.

  3. Authenticate with GCP:

    ./scripts/google-login

    This will open a browser. Log in with your Cornerstone email.

  4. Confirm setup successful:

    uv run pytest bedrock/utils/__tests__/test_gcp.py

Test EEIO matrix derivation

uv run pytest bedrock/transform/__tests__/test_usa.py -m eeio_integration

Outputs

EEIO matrices for each bedrock release will be uploaded at a future date for sharing.

About

Core data pipeline for Cornerstone artifacts

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages