close open_in_new
  1. Home
  2. Answers
  3. Commons+Company Category+GEICO+2019
Question: Which category or categories apply to this company?
Answer:
Financial
Commons
Company Category
GEICO
2019
Unverified - Added by Steward
  • Details
  • Years 1
  • calculations 0
  • inputs
Flag!
Variable Metric Value Year
isic
Commons+Image
Industry
Formula
K 2019
sic
Commons+Image
Standard Industrial Classification Division
Formula
H latest
act
Alliance for Corporate Transparency+Image
Sector
Research
No value latest
Formula
= # how ISIC Industry Sections (left) map to Company Categories (right) isicMap = A: "R" B: "R" C: "M" D: "I" E: "I" F: "I" G: "W" H: "I" I: "O" J: "S" K: "F" L: "I" M: "S" N: "O" O: "O" P: "H" Q: "H" R: "O" S: "O" T: "O" U: "O" # how SIC Divisions (left) map to Company Categories (right) sicMap = E: "I" I: "O" # how Alliance for Corporate Transparency sectors (left) map to Company Categories (right) actMap = "Infrastructure": "I" "Hospitality & Recreation": "O" "Services": "O" # translate lists using maps mappedCodes = (answer, answerMap) -> return unless isKnown answer codes = answer.map (a) -> answerMap[a] codes = codes.filter Boolean return codes if codes.length mappedCodes(isic, isicMap) || mappedCodes(sic, sicMap) || mappedCodes(act, actMap) || "Unknown"