{"id":16021828,"url":"https://github.com/davidanthoff/paper-2019-sccinequality","last_synced_at":"2025-06-19T15:41:07.848Z","repository":{"id":74502516,"uuid":"124588911","full_name":"davidanthoff/paper-2019-sccinequality","owner":"davidanthoff","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-11T02:42:20.000Z","size":34523,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T03:43:40.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidanthoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-09T20:18:00.000Z","updated_at":"2022-04-28T23:02:56.000Z","dependencies_parsed_at":"2023-03-01T15:30:37.492Z","dependency_job_id":null,"html_url":"https://github.com/davidanthoff/paper-2019-sccinequality","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.022222222222222254","last_synced_commit":"e9ca4e9713e49194926aa97e7f9cff347353d915"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/davidanthoff/paper-2019-sccinequality","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2019-sccinequality","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2019-sccinequality/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2019-sccinequality/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2019-sccinequality/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidanthoff","download_url":"https://codeload.github.com/davidanthoff/paper-2019-sccinequality/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2019-sccinequality/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260781096,"owners_count":23062160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T18:06:07.571Z","updated_at":"2025-06-19T15:41:02.833Z","avatar_url":"https://github.com/davidanthoff.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Replication code for Anthoff and Emmerling (2019) \"Inequality and the Social Cost of Carbon\"\n\nThis repository holds all code required to replicate the results of:\n\nAnthoff, David and Johannes Emmerling (2019) \"Inequality and the Social Cost of Carbon\".\n\n## Software requirements\n\nYou need to install [julia](http://julialang.org/) and [R](https://www.r-project.org/) to run the replication code.\n\n## Preparing the software environment\n\nOn the julia side of things you need to install a number of packages. You can use the following julia code to do so:\n\n````julia\nPkg.add(\"Mimi\")\nPkg.add(\"DataFrames\")\nPkg.add(\"Query\")\nPkg.add(\"ProgressMeter\")\nPkg.add(\"PyPlot\")\nPkg.add(\"RCall\")\nPkg.add(\"ExcelReaders\")\nPkg.add(\"Distributions\")\n````\n\nOn the R side of things you also need to install a number packages. You can use the following R code to do so:\n\n````R\ninstall.packages(\"openxlsx\")\ninstall.packages(\"stringr\")\ninstall.packages(\"data.table\")\ninstall.packages(\"reshape2\")\ninstall.packages(\"plyr\")\ninstall.packages(\"ggplot2\")\ninstall.packages(\"ggrepel\")\ninstall.packages(\"scales\")\n````\n\n## Cloning the repository\n\nThis git repository uses a git submodule. To ensure the submodule gets properly downloaded, make sure to use the\ngit ``--recurse-submodules`` option when cloning the repository. If you cloned the repository without that option,\nyou can issue the following two git commands to make sure the submodule is present on your system:\n``git submodule init``, followed by ``git submodule update``.\n\n## Running the replication script\n\nTo recreate all outputs and figures for this paper, run the ``main.ipynb`` file in the folder ``src`` in IJulia.\n\n## Input files\n\nSSP_v9_clean.xlxs: SSP database combined population, GDP, and MER exchange rates, downloaded and cleaned from the offical SSP database at https://tntcat.iiasa.ac.at/SspDb/dsd?Action=htmlpage\u0026page=series\n\n\n## Result and figure files\n\nAll results and figures will be stored in the folder ``output``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidanthoff%2Fpaper-2019-sccinequality","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidanthoff%2Fpaper-2019-sccinequality","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidanthoff%2Fpaper-2019-sccinequality/lists"}