Superior Forestry Cases

The Python code below finds and enumerates the WHD investigations corresponding to Superior Forestry, Inc., and prints them to a simple table, which you can find at the bottom of this page.


In [1]:
import pandas as pd
import sys
sys.path.append("../utils")
import loaders

Note: loaders is a custom module to handle most common data-loading operations in these analyses. It is available here.


In [2]:
_employers = loaders.load_employers()
employer_basics = _employers.set_index("CASE_ID")[[ 
    "ER_EIN",
    "ER_LEGAL_NAME",
    "ER_TRADE_NAME",
    "ER_CITY",
    "ER_STATE_ID"
]].copy()

In [3]:
_cases = loaders.load_cases()
case_basics = _cases.set_index("CASE_ID")[[ 
    "DATE_CONCLUDED",
    "DATE_REGISTERED",
    "AMT_BW_ASSESSED",
    "UNDUP_EES_VIOLATED",
    "INVEST_TOOL_DESC"
]]

In [4]:
table = employer_basics.join(case_basics)

In [5]:
superior_cases = table[
    (table["ER_LEGAL_NAME"].fillna("").str.contains(r"SUPER.* FORE", case=False)) |
    (table["ER_TRADE_NAME"].fillna("").str.contains(r"SUPER.* FORE", case=False))
].sort("DATE_CONCLUDED")

In [6]:
print("Total cases: {0}".format(len(superior_cases)))
print("Total back wages: ${0:,.2f}".format(superior_cases["AMT_BW_ASSESSED"].sum()))


Total cases: 15
Total back wages: $12,652.31

In [7]:
superior_cases.columns = [ col.replace("_", " ") for col in superior_cases.columns ]
superior_cases.fillna("")


Out[7]:
ER EIN ER LEGAL NAME ER TRADE NAME ER CITY ER STATE ID DATE CONCLUDED DATE REGISTERED AMT BW ASSESSED UNDUP EES VIOLATED INVEST TOOL DESC
CASE_ID
1070273 71-0652136 Superior Forestry Service, Inc. Superior Forestry Service, Inc. (Gonzalez) Tilly AR 2002-04-04 2000-04-18 5436.50 14 Full Investigation
1070291 71-0652136 Superior Forestry Service, Inc. Superior Forestry Service, Inc. (Carretero) Tilly AR 2002-04-04 2000-04-18 5756.94 16 Full Investigation
1294193 71-0652136 Superior Forestry Service, Inc. Superior Forestry Service Edinburg ME 2003-07-24 2003-06-26 0.00 0 Limited Investigation
1392302 71-0652136 Superior Forestry Service, Inc. Superior Forestry Service, Inc. Tilly AR 2005-08-15 2005-01-20 0.00 0 Full Investigation
1433246 71-0652136 Superior Forestry Service, Inc. Superior Forestry Service Alexander City AL 2006-03-16 2006-01-31 0.00 0 Full Investigation
1469687 71-0652136 Superior Forestry Service, Inc. Superior Forestry Services Tilly AR 2007-03-27 2007-02-06 0.00 0 Full Investigation
1469472 71-0652136 Superior Forestry Service, Inc Superior Forestry Service, Inc Tilly AR 2007-07-03 2007-02-05 0.00 0 Limited Investigation
1501305 71-0652136 Superior Forestry Services Inc Superior Forestry Services Inc Freeport FL 2008-02-01 2007-12-28 0.00 0 Limited Investigation
1519624 71-0652136 Superior Forestry Service, Inc. Superior Forestry Services Yadkinville NC 2008-09-03 2008-07-10 0.00 0 Limited Investigation
1563677 59-6001874 Superior Forestry Service, Inc. Superior Forestry Tilly AR 2010-03-19 2009-11-06 0.00 0 Full Investigation
1618392 71-0652136 Superior Forestry Service, Inc. Superior Forestry Service Tilly AR 2012-02-02 2011-05-06 0.00 0 Full Investigation
1653294 71-0652136 Superior Forestry Service, Inc. Superior Forestry Service, Inc. Tilly AR 2012-05-24 2012-04-17 0.00 0 Limited Investigation
1514014 71-0652136 Superior Forestry Service, Inc. Tilly AR 2012-08-21 2008-05-07 0.00 0 Full Investigation
1589127 71-0652136 Superior Forestry service Inc Superior Forestry Service & Green Forestry Tilly AR 2013-04-16 2010-07-16 1101.38 1 Full Investigation
1720234 71-0652136 Superior Forestry Services, Inc Superior Forestry Services, Inc. Tilly AR 2014-02-21 2014-02-18 357.49 1 Conciliation