{"id":77896,"name":"flowsa","description":"Library that attributes resource use, waste, emissions, and loss to economic sectors.","url":"https://github.com/usepa/flowsa","last_synced_at":"2026-04-12T04:30:38.561Z","repository":{"id":37852382,"uuid":"225456627","full_name":"USEPA/flowsa","owner":"USEPA","description":"Library that attributes resource use, waste, emissions, and loss to economic sectors","archived":false,"fork":false,"pushed_at":"2025-10-08T22:37:33.000Z","size":35921,"stargazers_count":34,"open_issues_count":26,"forks_count":24,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-23T13:45:41.496Z","etag":null,"topics":["ord"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/USEPA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":".zenodo.json","notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-12-02T19:53:24.000Z","updated_at":"2025-10-02T12:57:41.000Z","dependencies_parsed_at":"2023-10-14T19:54:27.980Z","dependency_job_id":"a2363483-91e9-42a7-8edf-391d70691d13","html_url":"https://github.com/USEPA/flowsa","commit_stats":{"total_commits":4708,"total_committers":20,"mean_commits":235.4,"dds":0.4186491079014444,"last_synced_commit":"7ddb24266283716ee50d799bcef58fad5130ad2f"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/USEPA/flowsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/USEPA","download_url":"https://codeload.github.com/USEPA/flowsa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281689415,"owners_count":26544632,"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-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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"}},"owner":{"login":"USEPA","name":"U.S. Environmental Protection Agency","uuid":"1304320","kind":"organization","description":"","email":null,"website":"https://www.epa.gov","location":"United States of America","twitter":"EPA","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1304320?v=4","repositories_count":449,"last_synced_at":"2024-04-14T19:47:37.473Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/USEPA","funding_links":[],"total_stars":2868,"followers":360,"following":0,"created_at":"2022-11-03T23:38:50.125Z","updated_at":"2024-04-14T19:49:15.808Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/USEPA","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/USEPA/repositories"},"packages":[],"commits":{"id":1336958,"full_name":"USEPA/flowsa","default_branch":"master","total_commits":4938,"total_committers":19,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":259.89473684210526,"dds":0.4200081004455245,"past_year_total_commits":184,"past_year_total_committers":4,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":46.0,"past_year_dds":0.34239130434782605,"last_synced_at":"2025-10-29T07:06:00.600Z","last_synced_commit":"c25c20644de293d47b63eab206e3bce46cd53acf","created_at":"2023-09-12T07:46:52.082Z","updated_at":"2025-10-29T07:05:43.411Z","committers":[{"name":"catherinebirney","email":"birney.catherine@epa.gov","login":"catherinebirney","count":2864},{"name":"Ben Young","email":"Ben.Young@erg.com","login":"bl-young","count":1252},{"name":"matthewlchambers","email":"matthew.chambers@bea.gov","login":null,"count":326},{"name":"WesIngwersen","email":"ingwersen.wesley@epa.gov","login":"WesIngwersen","count":235},{"name":"melissagqc","email":"melissa@gqc.com","login":"melissagqc","count":130},{"name":"Eric Bell","email":"eric.bell@erg.com","login":"ericmbell1","count":24},{"name":"Jacob Specht","email":"jacob@gqc.com","login":"jacobgqc","count":20},{"name":"Andrew Beck","email":"86379673+a-w-beck","login":"a-w-beck","count":19},{"name":"Mo Li","email":"mo.vico.li@gmail.com","login":"MoLi7","count":16},{"name":"ysrivas08","email":"yash.srivastava@erg.com","login":"ysrivas08","count":16},{"name":"Bousquin","email":"Bousquin.Justin@epa.gov","login":"jbousquin","count":10},{"name":"Daniel L. Young, Ph.D","email":"young.daniel@epa.gov","login":"dyoung11","count":8},{"name":"Caitlin Chiquelin","email":"Caitlin.Chiquelin@erg.com","login":"cchiq","count":7},{"name":"Andy Chase","email":"theandychase@gmail.com","login":"andychase","count":5},{"name":"Liz","email":"elizabeth.lanphear@erg.com","login":"elanphearerg","count":2},{"name":"davidemeyer","email":"meyer.david@epa.gov","login":"davidemeyer","count":1},{"name":"ealonso-mfa","email":"ealonso@usgs.gov","login":"ealonso-mfa","count":1},{"name":"jchou18","email":"92548644+jchou18","login":"jchou18","count":1},{"name":"rwashing523","email":"washington.reggie@epa.gov","login":"rwashing523","count":1}],"past_year_committers":[{"name":"catherinebirney","email":"60186515+catherinebirney","login":"catherinebirney","count":121},{"name":"Ben Young","email":"ben.young@erg.com","login":"bl-young","count":54},{"name":"ysrivas08","email":"yash.srivastava@erg.com","login":"ysrivas08","count":8},{"name":"Liz","email":"elizabeth.lanphear@erg.com","login":"elanphearerg","count":1}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-10-30T00:00:25.810Z","repositories_count":6090177,"commits_count":922447893,"contributors_count":35979315,"owners_count":1109820,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"USEPA/flowsa","html_url":"https://github.com/USEPA/flowsa","last_synced_at":"2025-10-29T08:58:59.477Z","status":"active","issues_count":65,"pull_requests_count":141,"avg_time_to_close_issue":12762705.567567568,"avg_time_to_close_pull_request":2745236.4296875,"issues_closed_count":37,"pull_requests_closed_count":128,"pull_request_authors_count":8,"issue_authors_count":6,"avg_comments_per_issue":1.6923076923076923,"avg_comments_per_pull_request":1.624113475177305,"merged_pull_requests_count":115,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":13,"past_year_pull_requests_count":33,"past_year_avg_time_to_close_issue":9594.0,"past_year_avg_time_to_close_pull_request":2099491.75,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":24,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.5384615384615384,"past_year_avg_comments_per_pull_request":0.8787878787878788,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":22,"created_at":"2023-09-12T07:47:22.758Z","updated_at":"2025-10-29T08:58:59.477Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/USEPA%2Fflowsa/issues","issue_labels_count":{"enhancement":14,"flowbysector":10,"flowbyactivity":8,"bug":6,"feature branch":4,"activitytosectormapping":3,"invalid":3,"question":1,"data source issue":1},"pull_request_labels_count":{},"issue_author_associations_count":{"COLLABORATOR":62,"NONE":3},"pull_request_author_associations_count":{"COLLABORATOR":139,"MEMBER":1,"NONE":1},"issue_authors":{"bl-young":23,"WesIngwersen":23,"catherinebirney":9,"matthewlchambers":7,"wadedavis13":2,"wuqi001s":1},"pull_request_authors":{"catherinebirney":68,"bl-young":58,"matthewlchambers":8,"WesIngwersen":3,"ericmbell1":1,"andychase":1,"jbousquin":1,"ysrivas08":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-10-29T00:00:18.463Z","repositories_count":11243475,"issues_count":34945556,"pull_requests_count":113355275,"authors_count":11042044,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{"enhancement":6,"flowbyactivity":5,"data source issue":1},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"COLLABORATOR":13},"past_year_pull_request_author_associations_count":{"COLLABORATOR":33},"past_year_issue_authors":{"WesIngwersen":10,"bl-young":3},"past_year_pull_request_authors":{"bl-young":18,"catherinebirney":15},"maintainers":[{"login":"bl-young","count":81,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/bl-young"},{"login":"catherinebirney","count":77,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/catherinebirney"},{"login":"WesIngwersen","count":26,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/WesIngwersen"},{"login":"matthewlchambers","count":15,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/matthewlchambers"},{"login":"ericmbell1","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ericmbell1"},{"login":"andychase","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/andychase"},{"login":"ysrivas08","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ysrivas08"}],"active_maintainers":[{"login":"bl-young","count":21,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/bl-young"},{"login":"catherinebirney","count":15,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/catherinebirney"},{"login":"WesIngwersen","count":10,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/WesIngwersen"}]},"events":{"total":{"ForkEvent":6,"CreateEvent":23,"CommitCommentEvent":3,"ReleaseEvent":3,"IssuesEvent":20,"WatchEvent":6,"DeleteEvent":11,"MemberEvent":3,"IssueCommentEvent":38,"PushEvent":145,"PullRequestReviewEvent":5,"GollumEvent":1,"PullRequestEvent":30},"last_year":{"ForkEvent":6,"CreateEvent":23,"CommitCommentEvent":3,"ReleaseEvent":3,"IssuesEvent":17,"WatchEvent":6,"DeleteEvent":9,"MemberEvent":3,"IssueCommentEvent":38,"PushEvent":139,"PullRequestReviewEvent":5,"GollumEvent":1,"PullRequestEvent":28}},"keywords":["ord"],"dependencies":[{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2022-06-22T21:53:58.849Z","updated_at":"2022-06-22T21:53:58.849Z","repository_link":"https://github.com/USEPA/flowsa/blob/master/requirements.txt","dependencies":[{"id":12666545,"package_name":"fedelemflowlist","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":12666546,"package_name":"esupy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":12666547,"package_name":"StEWI","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":12666548,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=1.3.2","direct":true,"kind":"runtime","optional":false},{"id":12666549,"package_name":"pip","ecosystem":"pypi","requirements":"\u003e=9","direct":true,"kind":"runtime","optional":false},{"id":12666550,"package_name":"setuptools","ecosystem":"pypi","requirements":"\u003e=41","direct":true,"kind":"runtime","optional":false},{"id":12666551,"package_name":"pyyaml","ecosystem":"pypi","requirements":"\u003e=5.3","direct":true,"kind":"runtime","optional":false},{"id":12666552,"package_name":"requests","ecosystem":"pypi","requirements":"\u003e=2.22.0","direct":true,"kind":"runtime","optional":false},{"id":12666553,"package_name":"appdirs","ecosystem":"pypi","requirements":"\u003e=1.4.3","direct":true,"kind":"runtime","optional":false},{"id":12666554,"package_name":"pycountry","ecosystem":"pypi","requirements":"\u003e=19.8.18","direct":true,"kind":"runtime","optional":false},{"id":12666555,"package_name":"xlrd","ecosystem":"pypi","requirements":"\u003e=2.0.1","direct":true,"kind":"runtime","optional":false},{"id":12666556,"package_name":"openpyxl","ecosystem":"pypi","requirements":"\u003e=3.0.7","direct":true,"kind":"runtime","optional":false},{"id":12666557,"package_name":"requests_ftp","ecosystem":"pypi","requirements":"==0.3.1","direct":true,"kind":"runtime","optional":false},{"id":12666558,"package_name":"tabula-py","ecosystem":"pypi","requirements":"\u003e=2.1.1","direct":true,"kind":"runtime","optional":false},{"id":12666559,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.20.1","direct":true,"kind":"runtime","optional":false},{"id":12666560,"package_name":"bibtexparser","ecosystem":"pypi","requirements":"\u003e=1.2.0","direct":true,"kind":"runtime","optional":false},{"id":12666561,"package_name":"python-dotenv","ecosystem":"pypi","requirements":"\u003e=0.19.1","direct":true,"kind":"runtime","optional":false},{"id":12666562,"package_name":"seaborn","ecosystem":"pypi","requirements":"\u003e=0.11.2","direct":true,"kind":"runtime","optional":false},{"id":12666563,"package_name":"matplotlib","ecosystem":"pypi","requirements":"\u003e=3.4.3","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2022-06-22T21:53:58.899Z","updated_at":"2022-06-22T21:53:58.899Z","repository_link":"https://github.com/USEPA/flowsa/blob/master/setup.py","dependencies":[{"id":12666564,"package_name":"fedelemflowlist","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":12666565,"package_name":"esupy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":12666566,"package_name":"StEWI","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":12666567,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=1.3.2","direct":true,"kind":"runtime","optional":false},{"id":12666568,"package_name":"pip","ecosystem":"pypi","requirements":"\u003e=9","direct":true,"kind":"runtime","optional":false},{"id":12666569,"package_name":"setuptools","ecosystem":"pypi","requirements":"\u003e=41","direct":true,"kind":"runtime","optional":false},{"id":12666570,"package_name":"pyyaml","ecosystem":"pypi","requirements":"\u003e=5.3","direct":true,"kind":"runtime","optional":false},{"id":12666571,"package_name":"requests","ecosystem":"pypi","requirements":"\u003e=2.22.0","direct":true,"kind":"runtime","optional":false},{"id":12666572,"package_name":"appdirs","ecosystem":"pypi","requirements":"\u003e=1.4.3","direct":true,"kind":"runtime","optional":false},{"id":12666573,"package_name":"pycountry","ecosystem":"pypi","requirements":"\u003e=19.8.18","direct":true,"kind":"runtime","optional":false},{"id":12666574,"package_name":"xlrd","ecosystem":"pypi","requirements":"\u003e=2.0.1","direct":true,"kind":"runtime","optional":false},{"id":12666575,"package_name":"openpyxl","ecosystem":"pypi","requirements":"\u003e=3.0.7","direct":true,"kind":"runtime","optional":false},{"id":12666576,"package_name":"requests_ftp","ecosystem":"pypi","requirements":"==0.3.1","direct":true,"kind":"runtime","optional":false},{"id":12666577,"package_name":"tabula-py","ecosystem":"pypi","requirements":"\u003e=2.1.1","direct":true,"kind":"runtime","optional":false},{"id":12666578,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.20.1","direct":true,"kind":"runtime","optional":false},{"id":12666579,"package_name":"bibtexparser","ecosystem":"pypi","requirements":"\u003e=1.2.0","direct":true,"kind":"runtime","optional":false},{"id":12666580,"package_name":"python-dotenv","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":12666581,"package_name":"seaborn","ecosystem":"pypi","requirements":"\u003e=0.11.2","direct":true,"kind":"runtime","optional":false},{"id":12666582,"package_name":"matplotlib","ecosystem":"pypi","requirements":"\u003e=3.4.3","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/compare_single_FBS.yml","sha":null,"kind":"manifest","created_at":"2023-02-17T11:15:45.121Z","updated_at":"2023-02-17T11:15:45.121Z","repository_link":"https://github.com/USEPA/flowsa/blob/master/.github/workflows/compare_single_FBS.yml","dependencies":[{"id":7739176840,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":7739176841,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":7739176842,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"v3.1.1","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/generate_FBS.yml","sha":null,"kind":"manifest","created_at":"2023-02-17T11:15:45.339Z","updated_at":"2023-02-17T11:15:45.339Z","repository_link":"https://github.com/USEPA/flowsa/blob/master/.github/workflows/generate_FBS.yml","dependencies":[{"id":7739177729,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":7739177732,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":7739177735,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"v3.1.1","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/python-app.yml","sha":null,"kind":"manifest","created_at":"2023-02-17T11:15:45.568Z","updated_at":"2023-02-17T11:15:45.568Z","repository_link":"https://github.com/USEPA/flowsa/blob/master/.github/workflows/python-app.yml","dependencies":[{"id":7739179059,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":7739179060,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test_methods.yml","sha":null,"kind":"manifest","created_at":"2023-02-17T11:15:45.752Z","updated_at":"2023-02-17T11:15:45.752Z","repository_link":"https://github.com/USEPA/flowsa/blob/master/.github/workflows/test_methods.yml","dependencies":[{"id":7739179376,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":7739179377,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":7739179378,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"v3.1.1","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/generate_FBA.yml","sha":null,"kind":"manifest","created_at":"2023-09-21T19:32:40.203Z","updated_at":"2023-09-21T19:32:40.203Z","repository_link":"https://github.com/USEPA/flowsa/blob/master/.github/workflows/generate_FBA.yml","dependencies":[{"id":13856735553,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":13856735554,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":13856735555,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"v3.1.1","direct":true,"kind":"composite","optional":false}]}],"score":7.038783541388541,"created_at":"2023-09-19T00:04:20.291Z","updated_at":"2026-04-12T04:30:38.563Z","avatar_url":"https://github.com/USEPA.png","language":"Python","category":"Industrial Ecology","sub_category":"Life Cycle Assessment","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"\u003c!-- badges: start --\u003e\n[![FLOWSA Paper](http://img.shields.io/badge/FLOWSA%20Paper-10.3390/app12115742-blue.svg)](https://doi.org/10.3390/app12115742)\n[![DOI](https://zenodo.org/badge/225456627.svg)](https://zenodo.org/badge/latestdoi/225456627)\n\u003c!-- badges: end --\u003e\n\n# flowsa\n`flowsa` is a data processing library attributing the flows of resources \n(environmental, monetary, and human), wastes, emissions, and losses to sectors, typically \n[NAICS codes](https://www.census.gov/naics/). `flowsa` aggregates, combines,\nand allocates data from a variety of sources. The sources can be found in the \n[GitHub wiki](https://github.com/USEPA/flowsa/wiki/Available-Data#flow-by-activity-datasets) \nunder \"Flow-By-Activity Datasets\".\n\n`flowsa` helps support \n[USEEIO](https://www.epa.gov/land-research/us-environmentally-extended-input-output-useeio-technical-content) \nas part of the [USEEIO modeling](https://www.epa.gov/land-research/us-environmentally-extended-input-output-useeio-models) \nframework. The USEEIO models estimate potential impacts of goods and \nservices in the US economy. The \n[Flow-By-Sector datasets](https://github.com/USEPA/flowsa/wiki/Available-Data#flow-by-sector-datasets) \ncreated in FLOWSA are the environmental inputs to \n[`useeior`](https://github.com/USEPA/useeior).\n\n## Usage\n### Flow-By-Activity (FBA) Datasets\nFlow-By-Activity datasets are formatted tables from a variety of sources. \nThey are largely unchanged from the original data source, except for \nformatting. A list of available FBA datasets can be found in \nthe [Wiki](https://github.com/USEPA/flowsa/wiki/Available-Data#flow-by-activity-datasets).\n\n`import flowsa` \\\nReturn list of all available FBA datasets, including years \n`flowsa.seeAvailableFlowByModels('FBA')` \\\nGenerate and return pandas dataframe for 2014 Energy Information \nAdministration (EIA) Manufacturing Energy Consumption Survey (MECS) land use \\\n`fba = flowsa.getFlowByActivity(datasource=\"EIA_MECS_Land\", year=2014)`\n\n### Flow-By-Sector (FBS) Datasets\nFlow-By-Sector datasets are tables of environmental and other data \nattributed to [sectors](https://www.census.gov/naics/). A list of available \nFBS datasets can be found in the \n[Wiki](https://github.com/USEPA/flowsa/wiki/Available-Data#flow-by-sector-datasets).\n\n`import flowsa` \\\nReturn list of all available FBS datasets\n`flowsa.seeAvailableFlowByModels('FBS')` \\\nGenerate and return pandas dataframe for national water withdrawals \nattributed to 6-digit sectors. Download all required FBA datasets from \nData Commons. \\\n`fbs = flowsa.getFlowBySector('Water_national_2015_m1', \ndownload_FBAs_if_missing=True)`\n\n### Examples\nAdditional example code can be found in the [examples](https://github.com/USEPA/flowsa/tree/master/examples) folder.\n\n## Installation\n`pip install git+https://github.com/USEPA/flowsa.git@vX.X.X#egg=flowsa`\n\nwhere vX.X.X can be replaced with the version you wish to install under \n[Releases](https://github.com/USEPA/flowsa/releases).\n\n### Additional Information on Installation, Examples, Detailed Documentation\nFor more information on `flowsa` see the [wiki](https://github.com/USEPA/flowsa/wiki).\n\n### Accessing datsets output by FLOWSA\nFBA and FBS datasets can be accessed on \n[EPA's Data Commons](https://dmap-data-commons-ord.s3.amazonaws.com/index.html?prefix=flowsa/) without running the Python code. \n\n## Disclaimer\n\nThe United States Environmental Protection Agency (EPA) GitHub project code \nis provided on an \"as is\" basis and the user assumes responsibility for its \nuse. EPA has relinquished control of the information and no longer has \nresponsibility to protect the integrity, confidentiality, or availability \nof the information. Any reference to specific commercial products, \nprocesses, or services by service mark, trademark, manufacturer, or \notherwise, does not constitute or imply their endorsement, recommendation \nor favoring by EPA. The EPA seal and logo shall not be used in any manner \nto imply endorsement of any commercial product or activity by EPA or\nthe United States Government.\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.3390/app12115742"],"works":{"https://doi.org/10.3390/app12115742":{"id":"https://openalex.org/W4282014765","doi":"https://doi.org/10.3390/app12115742","title":"FLOWSA: A Python Package Attributing Resource Use, Waste, Emissions, and Other Flows to Industries","display_name":"FLOWSA: A Python Package Attributing Resource Use, Waste, Emissions, and Other Flows to Industries","publication_year":2022,"publication_date":"2022-06-05","ids":{"openalex":"https://openalex.org/W4282014765","doi":"https://doi.org/10.3390/app12115742","pmid":"https://pubmed.ncbi.nlm.nih.gov/36330151"},"language":"en","primary_location":{"is_oa":true,"landing_page_url":"https://doi.org/10.3390/app12115742","pdf_url":"https://www.mdpi.com/2076-3417/12/11/5742/pdf?version=1654762275","source":{"id":"https://openalex.org/S4210205812","display_name":"Applied sciences","issn_l":"2076-3417","issn":["2076-3417"],"is_oa":true,"is_in_doaj":true,"host_organization":"https://openalex.org/P4310310987","host_organization_name":"Multidisciplinary Digital Publishing Institute","host_organization_lineage":["https://openalex.org/P4310310987"],"host_organization_lineage_names":["Multidisciplinary Digital Publishing Institute"],"type":"journal"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},"type":"article","type_crossref":"journal-article","open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://www.mdpi.com/2076-3417/12/11/5742/pdf?version=1654762275","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5079095308","display_name":"Catherine Birney","orcid":"https://orcid.org/0000-0003-4467-9927"},"institutions":[{"id":"https://openalex.org/I1302368450","display_name":"Environmental Protection Agency","ror":"https://ror.org/03tns0030","country_code":"US","type":"government","lineage":["https://openalex.org/I1302368450","https://openalex.org/I2800421839"]}],"countries":["US"],"is_corresponding":true,"raw_author_name":"Catherine Birney","raw_affiliation_string":"U.S. Environmental Protection Agency, Office of Research and Development, Center for Environmental Solutions and Emergency Response, Cincinnati, OH 45268, USA","raw_affiliation_strings":["U.S. Environmental Protection Agency, Office of Research and Development, Center for Environmental Solutions and Emergency Response, Cincinnati, OH 45268, USA"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5004716125","display_name":"Ben Young","orcid":"https://orcid.org/0000-0001-6276-8670"},"institutions":[{"id":"https://openalex.org/I4210139872","display_name":"Eastern Research Group (United States)","ror":"https://ror.org/03vff5r77","country_code":"US","type":"company","lineage":["https://openalex.org/I4210139872"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Ben Young","raw_affiliation_string":"Eastern Research Group, Inc., Lexington, MA 02421, USA","raw_affiliation_strings":["Eastern Research Group, Inc., Lexington, MA 02421, USA"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5016857267","display_name":"Mo Li","orcid":"https://orcid.org/0000-0002-3672-1622"},"institutions":[{"id":"https://openalex.org/I1343953105","display_name":"General Dynamics (United States)","ror":"https://ror.org/05pyq8e17","country_code":"US","type":"company","lineage":["https://openalex.org/I1343953105"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Mo Li","raw_affiliation_string":"General Dynamics Information Technology Inc., Fairfax, VA 22042, USA","raw_affiliation_strings":["General Dynamics Information Technology Inc., Fairfax, VA 22042, USA"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5075203505","display_name":"Melissa Conner","orcid":null},"institutions":[],"countries":["US"],"is_corresponding":false,"raw_author_name":"Melissa Conner","raw_affiliation_string":"Global Quality Corp., Edgewood, KY 41017, USA","raw_affiliation_strings":["Global Quality Corp., Edgewood, KY 41017, USA"]},{"author_position":"middle","author":{"id":"https://openalex.org/A5089742255","display_name":"Jacob Specht","orcid":null},"institutions":[],"countries":["US"],"is_corresponding":false,"raw_author_name":"Jacob Specht","raw_affiliation_string":"Global Quality Corp., Edgewood, KY 41017, USA","raw_affiliation_strings":["Global Quality Corp., Edgewood, KY 41017, USA"]},{"author_position":"last","author":{"id":"https://openalex.org/A5014113723","display_name":"Wesley W. Ingwersen","orcid":"https://orcid.org/0000-0002-9614-701X"},"institutions":[{"id":"https://openalex.org/I1302368450","display_name":"Environmental Protection Agency","ror":"https://ror.org/03tns0030","country_code":"US","type":"government","lineage":["https://openalex.org/I1302368450","https://openalex.org/I2800421839"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Wesley W. Ingwersen","raw_affiliation_string":"U.S. Environmental Protection Agency, Office of Research and Development, Center for Environmental Solutions and Emergency Response, Cincinnati, OH 45268, USA","raw_affiliation_strings":["U.S. Environmental Protection Agency, Office of Research and Development, Center for Environmental Solutions and Emergency Response, Cincinnati, OH 45268, USA"]}],"countries_distinct_count":1,"institutions_distinct_count":3,"corresponding_author_ids":["https://openalex.org/A5079095308"],"corresponding_institution_ids":["https://openalex.org/I1302368450"],"apc_list":{"value":2300,"currency":"CHF","value_usd":2490,"provenance":"doaj"},"apc_paid":{"value":2300,"currency":"CHF","value_usd":2490,"provenance":"doaj"},"has_fulltext":false,"cited_by_count":3,"cited_by_percentile_year":{"min":86,"max":90},"biblio":{"volume":"12","issue":"11","first_page":"5742","last_page":"5742"},"is_retracted":false,"is_paratext":false,"keywords":[{"keyword":"emissions","score":0.4839},{"keyword":"waste","score":0.3704},{"keyword":"other flowsa","score":0.2972}],"concepts":[{"id":"https://openalex.org/C519991488","wikidata":"https://www.wikidata.org/wiki/Q28865","display_name":"Python (programming language)","level":2,"score":0.59953964},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.54141027},{"id":"https://openalex.org/C143299363","wikidata":"https://www.wikidata.org/wiki/Q900584","display_name":"Attribution","level":2,"score":0.49301788},{"id":"https://openalex.org/C116399919","wikidata":"https://www.wikidata.org/wiki/Q1770543","display_name":"Material flow analysis","level":2,"score":0.4801166},{"id":"https://openalex.org/C70401792","wikidata":"https://www.wikidata.org/wiki/Q2323664","display_name":"Industrial ecology","level":3,"score":0.43904826},{"id":"https://openalex.org/C206345919","wikidata":"https://www.wikidata.org/wiki/Q20380951","display_name":"Resource (disambiguation)","level":2,"score":0.42223266},{"id":"https://openalex.org/C2522767166","wikidata":"https://www.wikidata.org/wiki/Q2374463","display_name":"Data science","level":1,"score":0.3439918},{"id":"https://openalex.org/C66204764","wikidata":"https://www.wikidata.org/wiki/Q219416","display_name":"Sustainability","level":2,"score":0.17131451},{"id":"https://openalex.org/C127413603","wikidata":"https://www.wikidata.org/wiki/Q11023","display_name":"Engineering","level":0,"score":0.16393131},{"id":"https://openalex.org/C77805123","wikidata":"https://www.wikidata.org/wiki/Q161272","display_name":"Social psychology","level":1,"score":0.0},{"id":"https://openalex.org/C18903297","wikidata":"https://www.wikidata.org/wiki/Q7150","display_name":"Ecology","level":1,"score":0.0},{"id":"https://openalex.org/C31258907","wikidata":"https://www.wikidata.org/wiki/Q1301371","display_name":"Computer network","level":1,"score":0.0},{"id":"https://openalex.org/C86803240","wikidata":"https://www.wikidata.org/wiki/Q420","display_name":"Biology","level":0,"score":0.0},{"id":"https://openalex.org/C111919701","wikidata":"https://www.wikidata.org/wiki/Q9135","display_name":"Operating system","level":1,"score":0.0},{"id":"https://openalex.org/C548081761","wikidata":"https://www.wikidata.org/wiki/Q180388","display_name":"Waste management","level":1,"score":0.0},{"id":"https://openalex.org/C15744967","wikidata":"https://www.wikidata.org/wiki/Q9418","display_name":"Psychology","level":0,"score":0.0}],"mesh":[],"locations_count":3,"locations":[{"is_oa":true,"landing_page_url":"https://doi.org/10.3390/app12115742","pdf_url":"https://www.mdpi.com/2076-3417/12/11/5742/pdf?version=1654762275","source":{"id":"https://openalex.org/S4210205812","display_name":"Applied sciences","issn_l":"2076-3417","issn":["2076-3417"],"is_oa":true,"is_in_doaj":true,"host_organization":"https://openalex.org/P4310310987","host_organization_name":"Multidisciplinary Digital Publishing Institute","host_organization_lineage":["https://openalex.org/P4310310987"],"host_organization_lineage_names":["Multidisciplinary Digital Publishing Institute"],"type":"journal"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},{"is_oa":true,"landing_page_url":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9628186","pdf_url":null,"source":{"id":"https://openalex.org/S2764455111","display_name":"PubMed Central","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"host_organization":"https://openalex.org/I1299303238","host_organization_name":"National Institutes of Health","host_organization_lineage":["https://openalex.org/I1299303238"],"host_organization_lineage_names":["National Institutes of Health"],"type":"repository"},"license":null,"version":"acceptedVersion","is_accepted":true,"is_published":false},{"is_oa":false,"landing_page_url":"https://pubmed.ncbi.nlm.nih.gov/36330151","pdf_url":null,"source":{"id":"https://openalex.org/S4306525036","display_name":"PubMed","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"host_organization":"https://openalex.org/I1299303238","host_organization_name":"National Institutes of Health","host_organization_lineage":["https://openalex.org/I1299303238"],"host_organization_lineage_names":["National Institutes of Health"],"type":"repository"},"license":null,"version":null,"is_accepted":false,"is_published":false}],"best_oa_location":{"is_oa":true,"landing_page_url":"https://doi.org/10.3390/app12115742","pdf_url":"https://www.mdpi.com/2076-3417/12/11/5742/pdf?version=1654762275","source":{"id":"https://openalex.org/S4210205812","display_name":"Applied sciences","issn_l":"2076-3417","issn":["2076-3417"],"is_oa":true,"is_in_doaj":true,"host_organization":"https://openalex.org/P4310310987","host_organization_name":"Multidisciplinary Digital Publishing Institute","host_organization_lineage":["https://openalex.org/P4310310987"],"host_organization_lineage_names":["Multidisciplinary Digital Publishing Institute"],"type":"journal"},"license":"cc-by","version":"publishedVersion","is_accepted":true,"is_published":true},"sustainable_development_goals":[{"id":"https://metadata.un.org/sdg/12","display_name":"Responsible consumption and production","score":0.47},{"id":"https://metadata.un.org/sdg/9","display_name":"Industry, innovation and infrastructure","score":0.35},{"id":"https://metadata.un.org/sdg/8","display_name":"Decent work and economic growth","score":0.17}],"grants":[],"referenced_works_count":8,"referenced_works":["https://openalex.org/W2080488424","https://openalex.org/W2342249984","https://openalex.org/W2609218431","https://openalex.org/W2735498953","https://openalex.org/W4220758167","https://openalex.org/W4225393629","https://openalex.org/W4282014765","https://openalex.org/W4282946112"],"related_works":["https://openalex.org/W2083259046","https://openalex.org/W2146165857","https://openalex.org/W1984695483","https://openalex.org/W2976056458","https://openalex.org/W3129254793","https://openalex.org/W2587671147","https://openalex.org/W2623240261","https://openalex.org/W1553201306","https://openalex.org/W2327204559","https://openalex.org/W3145763325"],"ngrams_url":"https://api.openalex.org/works/W4282014765/ngrams","abstract_inverted_index":{"Quantifying":[0],"industry":[1,226],"consumption":[2],"or":[3,88],"production":[4],"of":[5,20,40,52,163,189,200,228,240],"resources,":[6],"wastes,":[7],"emissions,":[8],"and":[9,15,33,36,80,106,115,143,154,159,203,219,231,238],"losses-collectively":[10],"called":[11],"flows-is":[12],"a":[13],"complex":[14],"evolving":[16],"process.":[17],"The":[18,55,171],"attribution":[19,131,165],"flows":[21,76,85],"to":[22,70,77,90,137,147,157,216],"industries":[23,138],"often":[24],"requires":[25],"allocating":[26],"multiple":[27],"data":[28,135,141,173,183,242],"sources":[29,136,142],"that":[30],"span":[31],"spatial":[32],"temporal":[34,155],"scopes":[35],"contain":[37],"varied":[38],"levels":[39],"aggregation.":[41],"Once":[42],"calculated,":[43],"datasets":[44],"can":[45,150],"quickly":[46],"become":[47],"outdated":[48],"with":[49],"new":[50],"releases":[51],"source":[53],"data.":[54],"US":[56,78,191,201,225],"Environmental":[57],"Protection":[58],"Agency":[59],"(USEPA)":[60],"developed":[61],"the":[62,72,91,161,181,186,241,247],"open-source":[63],"Flow":[64],"Sector":[65],"Attribution":[66],"(FLOWSA)":[67],"Python":[68],"package":[69],"address":[71],"challenges":[73],"surrounding":[74],"attributing":[75],"industrial":[79],"final-use":[81],"sectors.":[82,101,148],"Models":[83],"capture":[84],"drawn":[86],"from":[87,113,175],"released":[89],"environment":[92],"by":[93,108,213],"sectors,":[94],"as":[95,97,180],"well":[96],"flow":[98,104],"transfers":[99],"between":[100],"Data":[102,249],"on":[103,168,236,246],"use":[105,227],"generation":[107],"source-defined":[109],"activities":[110,146],"are":[111,121,178,244],"imported":[112],"providers":[114],"transformed":[116],"into":[117,185],"standardized":[118,172],"tables":[119],"but":[120],"otherwise":[122],"numerically":[123],"unchanged":[124],"in":[125],"preparation":[126],"for":[127,205,224],"modeling.":[128],"FLOWSA":[129,233],"sector":[130,164],"models":[132,177,199,218],"allocate":[133],"primary":[134],"using":[139],"secondary":[140],"file":[144],"mapping":[145],"Users":[149],"modify":[151],"methodological,":[152],"spatial,":[153],"parameters":[156],"explore":[158],"compare":[160],"impact":[162],"methodological":[166],"changes":[167],"model":[169,222],"results.":[170],"outputs":[174,243],"these":[176],"used":[179],"environmental":[182],"inputs":[184],"latest":[187],"version":[188],"USEPA's":[190,248],"Environmentally":[192],"Extended":[193],"Input-Output":[194],"(USEEIO)":[195],"models,":[196],"life":[197],"cycle":[198],"goods":[202],"services":[204],"~400":[206],"categories.":[207],"This":[208],"communication":[209],"demonstrates":[210],"FLOWSA's":[211],"capability":[212],"describing":[214],"how":[215],"build":[217],"providing":[220],"select":[221],"results":[223],"water,":[229],"land,":[230],"employment.":[232],"is":[234],"available":[235,245],"GitHub,":[237],"many":[239],"Commons.":[250]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W4282014765","counts_by_year":[{"year":2023,"cited_by_count":2},{"year":2022,"cited_by_count":1}],"updated_date":"2023-12-14T00:28:03.109145","created_date":"2022-06-13"}},"citation_counts":{"https://doi.org/10.3390/app12115742":3},"total_citations":3,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/77896","html_url":"https://ost.ecosyste.ms/projects/77896"}