{
  "dataset_name": "California contractor licences in good standing by workers' compensation coverage and classification",
  "description": "California contractor licences in good standing (status CLEAR) on CSLB's License Master file, by classification: how many carry a workers' compensation exemption and how many carry insurance.",
  "file": "/data/downloads/california-contractor-workers-comp-exemptions.csv",
  "rows": 99,
  "columns": [
    {
      "name": "group_level",
      "description": "Either all or classification."
    },
    {
      "name": "classification",
      "description": "CSLB classification code, written as CSLB writes it (C-61 subcategories as C-61/D-n)."
    },
    {
      "name": "licences_in_good_standing",
      "description": "Licences with primary status CLEAR holding the classification. A licence with several classifications counts in each."
    },
    {
      "name": "exempt",
      "description": "Of those, licences whose workers' compensation coverage type is Exempt."
    },
    {
      "name": "exempt_pct",
      "description": "exempt ÷ licences_in_good_standing. EMPTY below 1,000 licences."
    },
    {
      "name": "workers_comp_insured",
      "description": "Of those, licences whose coverage type is Workers' Compensation Insurance."
    },
    {
      "name": "exemption_not_allowed",
      "description": "yes for classifications CSLB says must carry insurance regardless of employees (C-8, C-20, C-22, C-39, D-49). EMPTY on the all row."
    }
  ],
  "missing_values": "An empty cell means the value is not published by the source, or that our sample floor suppresses it. It is never written as 0 — a zero in this file is a measured zero.",
  "coverage": {
    "records": "228,727 licences in good standing of 243,921 on the list, records updated to 2026-09-13",
    "temporal": null,
    "spatial": "California"
  },
  "generated_on": "2026-09-28",
  "generated_by": "civicdelta.dataset_exports.write_exports",
  "mirrors_page": "/research/california-contractors-workers-comp-exemptions/",
  "sql": {
    "totals": "\nSELECT count(*), count(*) FILTER (WHERE primary_status = 'CLEAR'),\n       count(*) FILTER (WHERE primary_status = 'CLEAR' AND wc_coverage_type = 'Exempt'),\n       count(*) FILTER (WHERE primary_status = 'CLEAR' AND wc_coverage_type = 'Workers'' Compensation Insurance'),\n       count(*) FILTER (WHERE primary_status = 'CLEAR' AND secondary_status = 'WC Susp Pending'),\n       max(last_update)\nFROM vetting.contractor_licenses\n",
    "classes": "\nWITH c AS (\n  SELECT DISTINCT l.license_no, upper(replace(btrim(x), '-', '')) AS class, l.wc_coverage_type\n  FROM vetting.contractor_licenses l, unnest(string_to_array(l.classifications, '|')) AS x\n  WHERE l.primary_status = 'CLEAR' AND btrim(x) <> ''\n)\nSELECT class, count(*), count(*) FILTER (WHERE wc_coverage_type = 'Exempt'),\n       count(*) FILTER (WHERE wc_coverage_type = 'Workers'' Compensation Insurance')\nFROM c GROUP BY 1 ORDER BY 2 DESC\n"
  },
  "sources": [
    {
      "source_key": "cslb_license_master",
      "dataset_title": "CSLB Master List of California Licensed Contractors - License Master",
      "publisher": "California Contractors State License Board (CSLB)",
      "dataset_id": "MasterLicenseData.csv",
      "dataset_page": "https://www.cslb.ca.gov/onlineservices/dataportal/ContractorList.aspx",
      "loaded_on": "2026-09-14",
      "terms_url": "https://www.ca.gov/use/",
      "terms_summary": "Portal states \"There is no charge for this service\" and links California's Use Policy, which treats state website information as public domain (distribution as permitted by law) with no warranty. Counsel review (FCRA posture) pending.\n",
      "terms_verified_by_a_human_on": null,
      "attribution": "California Contractors State License Board (CSLB), “CSLB Master List of California Licensed Contractors - License Master” (dataset MasterLicenseData.csv), loaded 2026-09-14"
    }
  ],
  "attribution": "Source: California Contractors State License Board (CSLB), “CSLB Master List of California Licensed Contractors - License Master” (dataset MasterLicenseData.csv), loaded 2026-09-14. Computed by CivicDelta.",
  "license_note": "Terms are the publisher's, at the terms_url above. Where terms_verified_by_a_human_on is null we have not yet had a person confirm them, and we do not assert a license on the publisher's behalf. CivicDelta's own computation over these files is free to reuse with the attribution line above.",
  "contains": [
    "Every licence with status CLEAR on the License Master file loaded on the date in sources."
  ],
  "does_not_contain": [
    "Any licence number, business or person.",
    "Whether any exemption is used properly; the file cannot show who works on a job."
  ]
}
