Expand description
Code for reading commodity levies from a CSV file.
Structsยง
- Commodity
Levy ๐Raw - Cost parameters for each commodity
Constantsยง
Functionsยง
- add_
missing_ ๐region_ to_ commodity_ levy_ map - Add a missing region to a commodity levy map with zero cost for all years and time slices.
- read_
commodity_ levies - Read costs associated with each commodity from
commodity_levies.csv. - read_
commodity_ ๐levies_ iter - Read commodity levies from an iterator of raw entries.
- validate_
commodity_ ๐levy_ map - Validate that the commodity levy map contains entries for all regions, years and time slices.