Skip to content
Governance Register

Every figure, and the query behind it

Queried live at render time against the same database files the API and site read from.

Counts

MetricValueQuery
companies5,689,367select count(*) from company (companies.db)
charities396,157select count(*) from charity (sectorwatch.db)
trustees833,035select count(*) from trustee_person (sectorwatch.db)
schools26,106select count(*) from school (schools_gov.db)
governors223,436select count(*) from gov_person (schools_gov.db)
trusts2,070select count(distinct trust_name) from trust_link (schools_gov.db)
parliament1,879select count(*) from person (au_parliament.db)
pubappt_orgs1,372select count(*) from organisation (ext/uk_public_appointments.db)
pubappt_people2,187select count(*) from person (ext/uk_public_appointments.db)
pubappt_appts3,537select count(*) from appointment (ext/uk_public_appointments.db)
nhs_orgs324select count(*) from organisation (ext/nhs_organisations.db)
nhs_board1,163select count(*) from board_member (ext/nhs_boards.db)
councils382select count(*) from council (ext/councillors.db)
councillors21,307select count(*) from councillor (ext/councillors.db)
finance_filings4,079,126select count(*) from finance_filing (ext/company_finance.db)
finance_companies3,203,078select count(distinct company_number) from finance_filing (ext/company_finance.db)
grants1,916,508select count(*) from grant_slim (ext/grants_slim.db)
contracts79,185select count(*) from contract (ext/contracts.db)
groups6,873,260select count(*) from company_group (ext/groups.db)
psc_edges9,341,880select count(*) from psc_edge (ext/groups.db)
disqualifiedn/aselect count(*) from disq_person (ext/disqualified.db)
confirmed_overlaps357,644select value from stats where metric='confirmed_links' (company_network.db)
trustees_processed278,580select value from stats where metric='trustees_processed' (company_network.db)
ie_orgs14,145select count(*) from organisation (ireland.db)
ie_people60,694select count(*) from person (ireland.db)
ie_boards_orgs195select count(*) from organisation (ie_boards.db)
us_orgs1,983,563select count(*) from organisation (us.db)
us_people4,979,148select count(*) from person (us.db)
ca_orgs134,949select count(*) from organisation (ca.db)
ca_people4,235,059select count(*) from person (ca.db)
cafed_orgs201select count(*) from organisation (ca_federal.db)
au_orgs66,013select count(*) from organisation (au.db)
au_people921select count(*) from person (au.db)
nz_orgs52,324select count(*) from organisation (nz.db)
nz_people584,458select count(*) from person (nz.db)
sco_orgs25,048select count(*) from organisation (scotland.db)
sco_people115,494select count(*) from person (scotland.db)
ni_orgs8,358select count(*) from organisation (ni.db)