Skip to main content

California government websites use .ca.gov

A .ca.gov website is part of California’s government.

CA.govCaliforniaOpen Data
  • Datasets
  • Topics
  • Organizations
  • State Portals
  • Documentation
  • Geoportal (opens in a new tab)
  • About
  1. Home
  2. Datasets
  3. Quarterly Census of Employment and Wages (QCEW)
  4. QCEW 2016-2019
CSV

QCEW 2016-2019

Download Resource (opens in a new tab)< Back to dataset

Data dictionary

Field definitions supplied by the publishing agency in CKAN.

ColumnTypeLabelDescription
Area TypetextArea Type—
Area NametextArea Name—
YearnumericYear—
QuartertextQuarter—
OwnershiptextOwnership—
NAICS LevelnumericNAICS Level—
NAICS CodetextNAICS Code—
Industry NametextIndustry Name—
EstablishmentsnumericEstablishments—
Average Monthly EmploymentnumericAverage Monthly Employment—
unsafe_1st_month_empnumeric1st Month Emp—
unsafe_2nd_month_empnumeric2nd Month Emp—
unsafe_3rd_month_empnumeric3rd Month Emp—
total_wages__all_workers_numericTotal Wages (All Workers)—
Average Weekly WagesnumericAverage Weekly Wages—

Resource details

FormatCSV
Size118 MB
Rows1,009,955
Last updatedSep 30, 2026
Part ofQuarterly Census of Employment and Wages (QCEW)

Other resources in this dataset

  • QCEW 2004-2007
  • QCEW 2008-2011
  • QCEW 2012-2015
  • QCEW 2020-2022
  • QCEW 2023-2025
  • QCEW 2026 (Q1)

CKAN Data API

Access resource data through the CKAN DataStore API. The examples below use this resource's ID.

Endpoints

The Data API provides these actions. Creating or updating records requires appropriate permissions; the query actions read public DataStore records.

Createhttps://ckan.cdt.dev.datopian.com/api/3/action/datastore_create
Update / inserthttps://ckan.cdt.dev.datopian.com/api/3/action/datastore_upsert
Queryhttps://ckan.cdt.dev.datopian.com/api/3/action/datastore_search
Query via SQLhttps://ckan.cdt.dev.datopian.com/api/3/action/datastore_search_sql

Query examples

First five results
"https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search?resource_id=78a9d6ee-ec9a-4c25-ae34-5bac44010cb2&limit=5"
Results containing "jones"
"https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search?resource_id=78a9d6ee-ec9a-4c25-ae34-5bac44010cb2&q=jones"
SQL query
"https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search_sql?sql=SELECT%20%2A%20FROM%20%2278a9d6ee-ec9a-4c25-ae34-5bac44010cb2%22%20LIMIT%205"

SQL queries depend on whether SQL search is enabled by the portal.

OData query

Use the resource's OData URL and its field names for paging, selecting columns, or filtering rows.

ODATA_RESOURCE_URL?$top=5
ODATA_RESOURCE_URL?$skip=5&$top=5
ODATA_RESOURCE_URL?$select=FIELD_NAME&$filter=FIELD_NAME eq 'VALUE'

Replace ODATA_RESOURCE_URL, FIELD_NAME, and VALUE with the details for the selected resource. See the OData query options guide (opens in a new tab) for more examples.

Use the API in code

JavaScript (JSONP)

var data = { resource_id: '78a9d6ee-ec9a-4c25-ae34-5bac44010cb2', limit: 5, q: 'jones' };
$.ajax({
  url: 'https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search',
  data: data,
  dataType: 'jsonp',
  success: function (response) {
    console.log(response.result.total, response.result.records);
  }
});

Python

import json
from urllib.request import urlopen

url = 'https://ckan.cdt.dev.datopian.com/api/3/action/datastore_search?resource_id=78a9d6ee-ec9a-4c25-ae34-5bac44010cb2&limit=5'
with urlopen(url) as response:
    result = json.load(response)['result']
print(result['total'], result['records'])

For parameters and response fields, see the CKAN DataStore documentation (opens in a new tab).

About

  • About Open Data
  • Open Data Policy
  • Contact Us

Explore

  • Datasets
  • Topics
  • Organizations

Resources

  • Documentation
  • Developer Documentation
  • Publisher's Handbook (opens in a new tab)

Website Accessibility Certification

CA.gov (opens in a new tab)

© 2026 State of California managed by California Department of Technology (opens in a new tab).