lair.inventories.EDGAR.get_sector_name#
- EDGAR.get_sector_name(sector)[source]#
Generate a formatted name from the sector description.
- Parameters:
sector (str) – The key of the sector in the sectors dictionary.
- Returns:
str – The formatted name. Sectors missing from
sectorskeep their code.- Return type:
See also
EDGARv7Names its variables with it.
Examples
The variable that EDGAR v7’s
ENFfiles become, for anEDGARv7inv:inv.get_sector_name("ENF") # 'Enteric_fermentation'