SicNode

data_models.sic_hierarchy.SicNode(self, sic_code, description)

Tree data structure where the nodes hold all data associated with a given SIC.

The SIC hierarchy is represented as several separate trees, with each section (e.g. “A”, “B”, “C”) as a root node.

Methods

Name Description
print_all Prints all information about the SIC hierarchy.

print_all

data_models.sic_hierarchy.SicNode.print_all()

Prints all information about the SIC hierarchy.

This Method Prints The Following Information

  • The string representation of the SIC hierarchy.
  • The section of the SIC code.
  • The parent of the current SIC hierarchy.
  • The children of the current SIC hierarchy.
  • The detail, includes, and excludes attributes of the SIC meta.
  • The activities associated with the SIC hierarchy.