home / cp40x

names

9 rows where case_id = 2234320

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4610340 2234320 2234320 plaintiff Carleton John   634166 634166 Carleton, John, of Elvestowe 0
4610341 2234320 2234320 defendant Sampson Richard   611482 611482 Sampson, Richard, of Stacheden 0
4610342 2234320 2234320 defendant Bolle John   588026 588026 Bolle, John, of Stoughton 1
4610343 2234320 2234320 defendant Lanterpage Nicholas   774302 774302 Lanterpage, Nicholas, of Keryngton 2
4610344 2234320 2234320 defendant Lawrence Richard   774303 774303 Lawrence, Richard, of Wybolston 3
4610345 2234320 2234320 defendant Raundes William   588373 588373 Raundes, William, of Rosse 4
4610346 2234320 2234320 defendant Hayle John   593171 593171 Hayle, John, of Milton 5
4610347 2234320 2234320 defendant Borgoyne William     Borgoyne, William 6
4610348 2234320 2234320 defendant Cok Richard   760366 760366 Cok, Richard, of Stachesden 7

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 9.178ms