{"id":16284732,"url":"https://github.com/pachadotdev/leontief","last_synced_at":"2025-03-20T02:31:14.395Z","repository":{"id":56936077,"uuid":"250439465","full_name":"pachadotdev/leontief","owner":"pachadotdev","description":"Leontief's Input-Output Model in R","archived":false,"fork":false,"pushed_at":"2024-06-10T19:59:04.000Z","size":1910,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-28T22:41:07.636Z","etag":null,"topics":["input-output","macroeconomics","r"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"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/pachadotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json"},"funding":{"custom":["https://www.buymeacoffee.com/pacha"]}},"created_at":"2020-03-27T04:24:58.000Z","updated_at":"2025-02-12T13:04:58.000Z","dependencies_parsed_at":"2024-10-27T21:42:34.240Z","dependency_job_id":"c302b061-576e-4d5b-833b-8c06be5a0ba1","html_url":"https://github.com/pachadotdev/leontief","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fleontief","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fleontief/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fleontief/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fleontief/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pachadotdev","download_url":"https://codeload.github.com/pachadotdev/leontief/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244043263,"owners_count":20388556,"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":["input-output","macroeconomics","r"],"created_at":"2024-10-10T19:20:40.799Z","updated_at":"2025-03-20T02:31:13.967Z","avatar_url":"https://github.com/pachadotdev.png","language":"R","funding_links":["https://www.buymeacoffee.com/pacha"],"categories":[],"sub_categories":[],"readme":"# leontief\n\n\u003c!-- badges: start --\u003e\n[![CRAN\nstatus](https://www.r-pkg.org/badges/version/leontief)](https://cran.r-project.org/package=leontief)\n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-blue.svg)](https://www.tidyverse.org/lifecycle/#stable)\n[![Codecov test coverage](https://codecov.io/gh/pachadotdev/leontief/branch/master/graph/badge.svg)](https://codecov.io/gh/pachadotdev/leontief?branch=master)\n[![R-CMD-check](https://github.com/pachadotdev/leontief/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/pachadotdev/leontief/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\nThe goal of leontief is to provide an implementation of the Input-Output \nmodel developed by Wassily Leontief. It represents the interdependencies between \ndifferent sectors of a national economy or different regional economies.\n\n## Installation\n\nStable version (CRAN):\n``` r\ninstall.packages(\"leontief\")\n```\n\nDevelopment version (GitHub):\n``` r\nremotes::install_github(\"pachadotdev/leontief\")\n```\n\n## Example\n\nThis is a basic example which shows you how to obtain the input requirement matrix:\n\n``` r\nlibrary(leontief)\n\n# use a real input-output matrix and final demand vector\nset.seed(200100)\nX \u003c- matrix(rnorm(100), nrow = 10)\nd \u003c- rnorm(10)\n\ninput_requirement_matrix(X,d)\n```\n\nPlease read the vignette for the details.\n\n## Code of conduct\n\nPlease note that the 'leontief' project is released with a\n[Contributor Code of Conduct](.github/CODE_OF_CONDUCT.md).\nBy contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fleontief","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpachadotdev%2Fleontief","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fleontief/lists"}