From 7bff97e8c894ef5f88f751196ac5d4adc47ffec3 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 8 Mar 2024 20:14:42 +0000 Subject: [PATCH] Update PSL-catalog on 2024-03-08 --- Catalog/Cost-of-Capital-Calculator.html | 52 +- Catalog/OG-Core.html | 147 ++ Catalog/catalog.json | 207 +- Catalog/index.html | 14 +- Catalog/prs.json | 2551 +++++++++++++++++++---- Incubating/prs.json | 749 ++++--- 6 files changed, 2834 insertions(+), 886 deletions(-) create mode 100644 Catalog/OG-Core.html diff --git a/Catalog/Cost-of-Capital-Calculator.html b/Catalog/Cost-of-Capital-Calculator.html index b256f8e5..b9efb171 100644 --- a/Catalog/Cost-of-Capital-Calculator.html +++ b/Catalog/Cost-of-Capital-Calculator.html @@ -56,13 +56,13 @@

Cost-of-Capital-Calculator


-

Evaluates the effect of US federal taxes on businesses' investment incentives

+
A model to evaluate the effect of US federal taxes on businesses' investment incentives.

@@ -71,27 +71,65 @@

Evaluates the effect of US federal taxes on businesses' investment incent

-

Cost-of-Capital-Calculator is a model that can be used to evaluate the effect of US federal taxes on the investment incentives of corporate and non-corporate businesses. Specifically, Cost-of-Capital-Calculator uses data on the business assets and financial policy, as well as microdata on individual tax filers, to compute marginal effective tax rates on new investments. In modeling the effects of changes to the individual income tax code, Cost-of-Capital-Calculator works with Tax-Calculator, another open-source model of US federal tax policy. Cost-of-Capital-Calculator is written in Python, an interpreted language that can execute on Windows, Mac, or Linux.

Installation

The ccc package can be installed with Anaconda via:

conda install -c conda-forge ccc

or with PyPI via:

pip install cost-of-capital-calculator

Web Application

Cost-of-Capital-Calculator is available through a web application, Cost of Capital Calculator. This app allows you to generate estimates of marginal effective tax rates and the cost of capital across production industries, type of asset, and separately for corporate and non-corporate entities and different forms of financing. The web application is limited in that you cannot consider policy reforms to the individual income tax code.

Contributing to Cost-of-Capital-Calculator

To contribute to Cost-of-Capital-Calculator, you'll want to clone the GitHub repository to your own machine, where you can work with and edit the source code. To do this, follow the following instructions:

  • Install the Anaconda distribution of Python

  • Clone this repository to a directory on your computer

  • From the terminal (or Conda command prompt), navigate to the directory to which you cloned this repository and run conda env create -f environment.yml

  • Then, conda activate ccc-dev

  • Run the model with an example reform from terminal/command prompt by typing python example.py

  • You can adjust the example.py by adjusting the individual income tax reform (using a dictionary or JSON file in a format that is consistent with Tax Calculator) or other model parameters specified in the business_tax_adjustments dictionary.

  • Model outputs will be saved in the following files:

    • ./baseline_byasset.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by asset.
    • ./baseline_byindustry.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by production industry.
    • ./reform_byasset.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the reform policy, organized by asset.
    • ./reform_byindustry.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the refrom policy, organized by production industry.
    • ./changed_byasset.csv
      • Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by asset.
    • ./changed_byindustry.csv
      • Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by production industry.

The CSV output files can be compared to the ./example_output/*_expected.csv files that are checked into the repository to confirm that you are generating the expected output. The easiest way to do this is to use the ./example-diffs command (or example-diffs on Windows). If you run into errors running the example script, please open a new issue in the Cost-of-Capital-Calculator repo with a description of the issue and any relevant tracebacks you receive.

+ Cost-of-Capital-Calculator is a model that can be used to evaluate the effect of US federal taxes on the investment incentives of corporate and non-corporate businesses. Specifically, Cost-of-Capital-Calculator uses data on the business assets and financial policy, as well as microdata on individual tax filers, to compute marginal effective tax rates on new investments. In modeling the effects of changes to the individual income tax code, Cost-of-Capital-Calculator works with Tax-Calculator, another open-source model of US federal tax policy. Cost-of-Capital-Calculator is written in Python, an interpreted language that can execute on Windows, Mac, or Linux.
+
+ +
+ +

Policy Area

+

Business Taxation
Investment

+
+ +
+ +

Geography

+

United States

+
+ +
+ +

Language

+

Python

+
+ +
+

Maintainers:

- - + +

Jason DeBacker

diff --git a/Catalog/OG-Core.html b/Catalog/OG-Core.html new file mode 100644 index 00000000..2a9a4333 --- /dev/null +++ b/Catalog/OG-Core.html @@ -0,0 +1,147 @@ + + + + + + + + + + PSL + + + + + + + + + + + + + + +
+
+
+

| | | | --- | --- | | Org | PSL cataloged OS License: CCO-1.0 Jupyter Book Badge | | Package | Python 3.9 Python 3.10 Python 3.11 PyPI Latest Release PyPI Downloads Code style: black | | Testing | example event parameter example event parameter example event parameter Codecov |

OG-Core is an overlapping-generations (OG) model core theory, logic, and solution method algorithms that allow for dynamic general equilibrium analysis of fiscal policy. OG-Core provides a general framework and is a dependency of several country-specific OG models, such as OG-USA and OG-UK. The model output includes changes in macroeconomic aggregates (GDP, investment, consumption), wages, interest rates, and the stream of tax revenues over time. Regularly updated documentation of the model theory--its output, and solution method--and the Python API is available here.

+
+
+ + + + + + +
+

Maintainers:

+ +
+ + + + + + + + + \ No newline at end of file diff --git a/Catalog/catalog.json b/Catalog/catalog.json index 72111a0c..0508bdce 100644 --- a/Catalog/catalog.json +++ b/Catalog/catalog.json @@ -122,97 +122,27 @@ "github_url": "https://github.com/TaxFoundation/capital-cost-recovery" }, "Cost-of-Capital-Calculator": { - "name": { - "value": "Cost-of-Capital-Calculator", - "source": "" - }, - "project_one_line": { - "source": "https://github.com/PSLmodels/Cost-of-Capital-Calculator", - "value": "

Evaluates the effect of US federal taxes on businesses' investment incentives

" - }, - "key_features": { - "source": null, - "value": null - }, - "project_overview": { - "source": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/blob/master/README.md", - "value": "

Cost-of-Capital-Calculator is a model that can be used to evaluate the effect of US federal taxes on the investment incentives of corporate and non-corporate businesses. Specifically, Cost-of-Capital-Calculator uses data on the business assets and financial policy, as well as microdata on individual tax filers, to compute marginal effective tax rates on new investments. In modeling the effects of changes to the individual income tax code, Cost-of-Capital-Calculator works with Tax-Calculator, another open-source model of US federal tax policy. Cost-of-Capital-Calculator is written in Python, an interpreted language that can execute on Windows, Mac, or Linux.

Installation

The ccc package can be installed with Anaconda via:

conda install -c conda-forge ccc

or with PyPI via:

pip install cost-of-capital-calculator

Web Application

Cost-of-Capital-Calculator is available through a web application, Cost of Capital Calculator. This app allows you to generate estimates of marginal effective tax rates and the cost of capital across production industries, type of asset, and separately for corporate and non-corporate entities and different forms of financing. The web application is limited in that you cannot consider policy reforms to the individual income tax code.

Contributing to Cost-of-Capital-Calculator

To contribute to Cost-of-Capital-Calculator, you'll want to clone the GitHub repository to your own machine, where you can work with and edit the source code. To do this, follow the following instructions:

  • Install the Anaconda distribution of Python

  • Clone this repository to a directory on your computer

  • From the terminal (or Conda command prompt), navigate to the directory to which you cloned this repository and run conda env create -f environment.yml

  • Then, conda activate ccc-dev

  • Run the model with an example reform from terminal/command prompt by typing python example.py

  • You can adjust the example.py by adjusting the individual income tax reform (using a dictionary or JSON file in a format that is consistent with Tax Calculator) or other model parameters specified in the business_tax_adjustments dictionary.

  • Model outputs will be saved in the following files:

    • ./baseline_byasset.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by asset.
    • ./baseline_byindustry.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by production industry.
    • ./reform_byasset.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the reform policy, organized by asset.
    • ./reform_byindustry.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the refrom policy, organized by production industry.
    • ./changed_byasset.csv
      • Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by asset.
    • ./changed_byindustry.csv
      • Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by production industry.

The CSV output files can be compared to the ./example_output/*_expected.csv files that are checked into the repository to confirm that you are generating the expected output. The easiest way to do this is to use the ./example-diffs command (or example-diffs on Windows). If you run into errors running the example script, please open a new issue in the Cost-of-Capital-Calculator repo with a description of the issue and any relevant tracebacks you receive.

" - }, - "citation": { - "source": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/blob/master/README.md", - "value": "

Cost-of-Capital-Calculator (Version 1.2.11)[Source code], https://github.com/PSLmodels/Cost-of-Capital-Calculator

" - }, - "license": { - "source": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/blob/master/docs/book/content/license.md", - "value": "

CC0 1.0 Universal (CC0 1.0) Public Domain Dedication

" - }, - "user_documentation": { - "source": null, - "value": "http://ccc.pslmodels.org/content/intro.html/" - }, - "user_changelog": { - "source": null, - "value": null - }, - "user_changelog_recent": { - "source": null, - "value": null - }, - "dev_changelog": { - "source": null, - "value": null - }, - "disclaimer": { - "source": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/blob/master/README.md", - "value": "

Results will change as the underlying models improve. A fundamental reason for adopting open source methods in this project is so that people from all backgrounds can contribute to the models that our society uses to assess economic policy; when community-contributed improvements are incorporated, the model will produce different results.

" - }, - "user_case_studies": { - "source": null, - "value": null - }, - "project_roadmap": { - "source": null, - "value": null - }, - "contributor_overview": { - "source": null, - "value": null - }, - "contributor_guide": { - "source": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/blob/master/README.md", - "value": "

To contribute to Cost-of-Capital-Calculator, you'll want to clone the GitHub repository to your own machine, where you can work with and edit the source code. To do this, follow the following instructions:

  • Install the Anaconda distribution of Python

  • Clone this repository to a directory on your computer

  • From the terminal (or Conda command prompt), navigate to the directory to which you cloned this repository and run conda env create -f environment.yml

  • Then, conda activate ccc-dev

  • Run the model with an example reform from terminal/command prompt by typing python example.py

  • You can adjust the example.py by adjusting the individual income tax reform (using a dictionary or JSON file in a format that is consistent with Tax Calculator) or other model parameters specified in the business_tax_adjustments dictionary.

  • Model outputs will be saved in the following files:

    • ./baseline_byasset.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by asset.
    • ./baseline_byindustry.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the baseline policy, organized by production industry.
    • ./reform_byasset.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the reform policy, organized by asset.
    • ./reform_byindustry.csv
      • Cost of capital, marginal effective tax rates, effective average tax rates, and other model output for the refrom policy, organized by production industry.
    • ./changed_byasset.csv
      • Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by asset.
    • ./changed_byindustry.csv
      • Differences in cost of capital, marginal effective tax rates, effective average tax rates, and other model output between the baseline and reform reform policies, organized by production industry.

The CSV output files can be compared to the ./example_output/*_expected.csv files that are checked into the repository to confirm that you are generating the expected output. The easiest way to do this is to use the ./example-diffs command (or example-diffs on Windows). If you run into errors running the example script, please open a new issue in the Cost-of-Capital-Calculator repo with a description of the issue and any relevant tracebacks you receive.

" - }, - "governance_overview": { - "source": null, - "value": null - }, - "public_funding": { - "source": null, - "value": null - }, - "link_to_webapp": { - "source": null, - "value": "https://compute.studio/PSLmodels/Cost-of-Capital-Calculator/" - }, - "public_issue_tracker": { - "source": null, - "value": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/issues" - }, - "public_qanda": { - "source": null, - "value": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/issues" - }, - "core_maintainers": { - "source": null, - "value": "" - }, - "unit_test": { - "source": null, - "value": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/tree/master/ccc/tests" - }, - "integration_test": { - "source": null, - "value": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/tree/master/ccc/tests" + "name": "Cost-of-Capital-Calculator", + "img": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/blob/master/docs/ccc.png", + "banner_title": "Cost-of-Capital-Calculator", + "banner_subtitle": "A model to evaluate the effect of US federal taxes on businesses' investment incentives.", + "detailed_description": "Cost-of-Capital-Calculator is a model that can be used to evaluate the effect of US federal taxes on the investment incentives of corporate and non-corporate businesses. Specifically, Cost-of-Capital-Calculator uses data on the business assets and financial policy, as well as microdata on individual tax filers, to compute marginal effective tax rates on new investments. In modeling the effects of changes to the individual income tax code, Cost-of-Capital-Calculator works with Tax-Calculator, another open-source model of US federal tax policy. Cost-of-Capital-Calculator is written in Python, an interpreted language that can execute on Windows, Mac, or Linux.", + "policy_area": "Business Taxation, Investment", + "geography": "United States", + "language": "Python", + "maintainers": [ + { + "name": "Jason DeBacker", + "image": "https://avatars.githubusercontent.com/u/10715924?v=4", + "link": "https://github.com/jdebacker/" + } + ], + "links": { + "code_repository": "https://github.com/PSLmodels/Cost-of-Capital-Calculator", + "user_documentation": "https://ccc.pslmodels.org/content/intro.html", + "contributor_documentation": "https://ccc.pslmodels.org/content/intro.html", + "webapp": "", + "recent_changes": "https://github.com/PSLmodels/Cost-of-Capital-Calculator/releases" }, "github_url": "https://github.com/PSLmodels/Cost-of-Capital-Calculator" }, @@ -286,6 +216,101 @@ }, "github_url": "https://github.com/PSLmodels/microdf" }, + "OG-Core": { + "name": { + "value": "OG-Core", + "source": "" + }, + "project_one_line": { + "source": "https://github.com/PSLmodels/OG-Core", + "value": "

A General Overlapping-Generations Model for Evaluating Fiscal Policy

" + }, + "key_features": { + "source": null, + "value": null + }, + "project_overview": { + "source": "https://github.com/PSLmodels/OG-Core/blob/master/README.md", + "value": "

| | | | --- | --- | | Org | \"PSL \"OS \"Jupyter | | Package | \"Python \"Python \"Python \"PyPI \"PyPI \"Code | | Testing | \"example \"example \"example \"Codecov\" |

OG-Core is an overlapping-generations (OG) model core theory, logic, and solution method algorithms that allow for dynamic general equilibrium analysis of fiscal policy. OG-Core provides a general framework and is a dependency of several country-specific OG models, such as OG-USA and OG-UK. The model output includes changes in macroeconomic aggregates (GDP, investment, consumption), wages, interest rates, and the stream of tax revenues over time. Regularly updated documentation of the model theory--its output, and solution method--and the Python API is available here.

" + }, + "citation": { + "source": "https://github.com/PSLmodels/OG-Core#citing-OG-Core", + "value": "

Please cite the source of your analysis as \"OG-Core release #.#.#, author's calculations.\" If you wish to link to OG-Core, https://github.com/PSLmodels/OG-Core is preferred. Additionally, we strongly recommend that you describe the input data used, and provide a link to the materials required to replicate your analysis or, at least, note that those materials are available upon request.

" + }, + "license": { + "source": "https://github.com/PSLmodels/OG-Core/blob/master/LICENSE.md", + "value": "

CC0 1.0 Universal (CC0 1.0) Public Domain Dedication" + }, + "user_documentation": { + "source": "https://pslmodels.github.io/OG-Core", + "value": "User documentation" + }, + "user_changelog": { + "source": null, + "value": null + }, + "user_changelog_recent": { + "source": null, + "value": null + }, + "dev_changelog": { + "source": null, + "value": null + }, + "disclaimer": { + "source": "https://github.com/PSLmodels/OG-Core/blob/master/README.md", + "value": "

The model is constantly under development, and model components could change significantly. The package will have released versions, which will be checked against existing code prior to release. Stay tuned for an upcoming release!

" + }, + "user_case_studies": { + "source": null, + "value": null + }, + "project_roadmap": { + "source": null, + "value": null + }, + "contributor_overview": { + "source": "https://github.com/PSLmodels/OG-Core#usingcontributing-to-OG-Core", + "value": "

If you want to report a bug, create a new issue here providing details on what you think is wrong with OG-Core.

If you want to request an enhancement, create a new issue here providing details on what you think should be added to OG-Core.

" + }, + "contributor_guide": { + "source": null, + "value": null + }, + "governance_overview": { + "source": null, + "value": null + }, + "public_funding": { + "source": null, + "value": null + }, + "link_to_webapp": { + "source": null, + "value": null + }, + "public_issue_tracker": { + "source": null, + "value": "https://github.com/PSLmodels/OG-Core/issues" + }, + "public_qanda": { + "source": null, + "value": "https://github.com/PSLmodels/OG-Core/issues" + }, + "core_maintainers": { + "source": null, + "value": "" + }, + "unit_test": { + "source": "https://github.com/PSLmodels/OG-Core/tree/master/tests", + "value": "https://github.com/PSLmodels/OG-Core/tree/master/tests" + }, + "integration_test": { + "source": "https://github.com/PSLmodels/OG-Core/tree/master/tests", + "value": "https://github.com/PSLmodels/OG-Core/tree/master/tests" + }, + "github_url": "https://github.com/PSLmodels/OG-Core" + }, "OG-USA": { "name": { "value": "OG-USA", diff --git a/Catalog/index.html b/Catalog/index.html index 3f08acfb..e14a010e 100644 --- a/Catalog/index.html +++ b/Catalog/index.html @@ -91,7 +91,7 @@
We have a collection of open-source models and data preparation routines for Cost-of-Capital-Calculator @@ -122,6 +122,18 @@
We have a collection of open-source models and data preparation routines for

microdf

+ + +

OG-Core

+
+