flowsa
flowsa copied to clipboard
Allow the same FBA from different year as `source_names`
In rare cases, we may want to get the same FBA but from different years in a single FBS.
source_names:
FBA:
year: 2018
activity_sets:
...
FBA:
year: 2019 # These datasets last appear in 2019
activity_sets:
...
However we can't use a duplicate key under source_names
The following can solve this:
source_names:
FBA_1:
source_name: FBA
year: 2018
activity_sets:
...
FBA_2:
source_name: FBA
year: 2019 # These datasets last appear in 2019
activity_sets:
...
With a new optional parameter source_name which when present will replace the key for obtaining the FBA.