{"id":16021766,"url":"https://github.com/davidanthoff/paper-2017-sccprioritarianism","last_synced_at":"2025-08-02T20:08:44.012Z","repository":{"id":74502520,"uuid":"82596759","full_name":"davidanthoff/paper-2017-sccprioritarianism","owner":"davidanthoff","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-23T20:58:36.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T03:43:29.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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":"2017-02-20T19:56:49.000Z","updated_at":"2020-06-22T14:22:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ae1ad35-585f-4419-a8c5-b2c962b5e03c","html_url":"https://github.com/davidanthoff/paper-2017-sccprioritarianism","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"a998d35b79a27d4a08661000ae47c9ccf64a80ff"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/davidanthoff/paper-2017-sccprioritarianism","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2017-sccprioritarianism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2017-sccprioritarianism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2017-sccprioritarianism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2017-sccprioritarianism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidanthoff","download_url":"https://codeload.github.com/davidanthoff/paper-2017-sccprioritarianism/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidanthoff%2Fpaper-2017-sccprioritarianism/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266624831,"owners_count":23958301,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:05:38.185Z","updated_at":"2025-07-23T05:34:48.104Z","avatar_url":"https://github.com/davidanthoff.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Replication code for Adler et al. (2017) \"Priority for the worse off and the Social Cost of Carbon\"\n\nThis repository holds all code required to replicate the results of:\n\nAdler, M., D. Anthoff, V. Bosetti, G. Garner, K. Keller and N. Treich (2017) \"Priority for the worse off 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(\"ProgressMeter\")\nPkg.add(\"RCall\")\nPkg.add(\"ExcelReaders\")\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(\"RColorBrewer\")\ninstall.packages(\"lattice\")\ninstall.packages(\"fields\")\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 for this paper, run the ``main.jl`` file in the folder ``src`` with this command:\n\n````\njulia src/main.jl\n````\n\n## Result files\n\nAll results will be stored in csv files in the folder ``results``. The following files will be created by running the main script.\n\n### results/output-scc.csv\n\nThis file contains estimate of the Social Cost of Carbon for various calibrations of preference parameters and welfare functions. The figures are in 2015 USD. The unit of the SCC results is $/tCO2 (NOT $/tC). The columns of the file have the following interpretation:\n\n1. \"model\": the name of the model used to estimate the SCC (always \"RICE\").\n2. \"aggregation\": for \"Global\" the world is treated as one big regions, for \"Regional\" each region is separatly represented in the welfare function.\n3. \"focusregion\": the normalization region.\n4. \"rho\": as defined in the manuscript.\n5. \"gamma\": as defined in the manuscript.\n6. \"eta\": as defined in the manuscript.\n7. \"c0\": as defined in the manuscript.\n8. \"SCC\": Social Cost of Carbon.\n\n### results/output-marginaldamage.csv\n\nThe file contains the marginal damage caused by the release of one extra ton of carbon (C) in the year 2015 by year and region. The figures are in 2015 USD. The unit is $/tC (NOT $/tCO2).\n\n### results/output-cpc.csv\n\nThis file contains per capita consumption levels from RICE-2010 by year and region. The figures are in 2015 USD.\n\n### results/output-population.csv\n\nThis file contains population levels from RICE-2010 by year and region.\n\n## Result plots\n\nAll plots for the paper will be stored in the ``plots`` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidanthoff%2Fpaper-2017-sccprioritarianism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidanthoff%2Fpaper-2017-sccprioritarianism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidanthoff%2Fpaper-2017-sccprioritarianism/lists"}