data/constants/concept_mappings library
Concept mapping from standardized metrics to SEC XBRL tags.
Based on comprehensive analysis of US GAAP taxonomy and SEC EDGAR data across diverse sectors: tech, finance, healthcare, retail, energy, utilities. Tags are ordered by priority - more common/reliable tags first.
Constants
-
conceptMappings
→ const Map<
FinancialMetric, List< String> > - Maps standardized metrics to possible SEC XBRL concept tags. Tags are ordered by priority - more common/reliable tags first.
Functions
-
getPreferredUnit(
FinancialMetric metric) → String - Gets the appropriate unit type for a metric.