USEPA / flowsa

Library that attributes resource use, waste, emissions, and loss to economic sectors
MIT License
23 stars 19 forks source link

map_to_BEA_sectors hardcoded for 2012 #388

Closed WesIngwersen closed 10 months ago

WesIngwersen commented 11 months ago

https://github.com/USEPA/flowsa/blob/54addf713e11f426abce15d87c33662ac9220f28/flowsa/sectormapping.py#L164

Seems necessary to make this dynamic

WesIngwersen commented 11 months ago

Also this function, when being passed an fbs_collapsed, is returning two columns with 'Sector' name.

catherinebirney commented 11 months ago

Commit d13fd1e lets us pick target bea year (default 2012), determines the naics year from the FBS itself, and drops duplicated Sector col