andychase / flowsa

Library that attributes resource use, waste, emissions, and loss to economic sectors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FLOWSA Paper DOI

flowsa

flowsa is a data processing library attributing resources (environmental, monetary, and human), wastes, emissions, and losses to sectors, typically NAICS codes. flowsa aggregates, combines, and allocates data from a variety of sources. The sources can be found in the GitHub wiki under "Flow-By-Activity Datasets".

flowsa helps support USEEIO as part of the USEEIO modeling framework. The USEEIO models estimate potential impacts of goods and services in the US economy. The Flow-By-Sector datasets created in FLOWSA are the environmental inputs to useeior.

Usage

Flow-By-Activity (FBA) Datasets

Flow-By-Activity datasets are formatted tables from a variety of sources. They are largely unchanged from the original data source, with the exception of formatting. A list of available FBA datasets can be found in the Wiki.

import flowsa
flowsa.seeAvailableFlowByModels('FBA')
flowsa.getFlowByActivity(datasource="USDA_CoA_Cropland", year=2017)

Flow-By-Sector (FBS) Datasets

Flow-By-Sector datasets are tables of environmental and other data attributed to sectors. A list of available FBS datasets can be found in the Wiki.

import flowsa
flowsa.seeAvailableFlowByModels('FBS')
flowsa.getFlowBySector('Water_national_2015_m1')

Installation

pip install git+https://github.com/USEPA/flowsa.git@vX.X.X#egg=flowsa

where vX.X.X can be replaced with the version you wish to install under Releases.

Additional Information on Installation, Examples, Detailed Documentation

For more information on flowsa see the wiki.

Disclaimer

The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.

About

Library that attributes resource use, waste, emissions, and loss to economic sectors

License:MIT License


Languages

Language:Python 100.0%