import type { JobClaimsResponse } from '../../api/dataCenters' /** * The jobs screen's record of actual jobs (#1019): BLS payroll employment in the industry that includes data centers * (NAICS 518210, private, annual average), for the scope's state and the nation, then where data center jobs are * tracked. A figure BLS withheld shows as "withheld", never a number. Job boards are cited, not scraped. */ const fmt = (n: number) => n.toLocaleString('en-US') const ACCESS: Record = { public_data: 'Loaded here', prohibited_by_terms: 'Its terms forbid automated collection; not pulled', not_pulled: 'Cited; not pulled', } const change = (pct: number) => `${pct > 0 ? '+' : ''}${pct}% from the year before` export default function PayrollJobsPanel({ data }: { data: JobClaimsResponse }) { const rows = data.employment ?? [] const sources = data.sources ?? [] if (rows.length === 0 && sources.length === 0) return null const year = rows[0]?.year return (
{rows.length > 0 && ( <>
Payroll jobs in the industry that includes data centers{year ? `, ${year}` : ''}

Source:{' '} BLS Quarterly Census of Employment and Wages , NAICS 518210 (computing infrastructure, data processing and web hosting), private employers. That industry includes data centers and is broader than them.

)} {sources.length > 0 && (
Where data center jobs are tracked
    {sources.map((s) => (
  • {s.name} {s.description && {s.description}} {ACCESS[s.automated_access] ?? s.automated_access}
  • ))}
)}
) }