home / cp40x

names

8 rows where case_id = 2400521

✎ 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
5147872 2400521 2400521 plaintiff Conyer John     Conyer, John 0
5147873 2400521 2400521 defendant Steven Robert laborer 674495 674495 Steven, Robert, of Styfford, Essex, laborer 0
5147874 2400521 2400521 defendant Lorkyn William laborer 774042 774042 Lorkyn, William, of Orsete, Essex, laborer 1
5147875 2400521 2400521 defendant Mokke William laborer 693424 693424 Mokke, William, of Upminster, Essex, laborer 2
5147876 2400521 2400521 defendant Bescombe Robert laborer 853143 853143 Bescombe, Robert, of Little Thurrock, Essex, laborer 3
5147877 2400521 2400521 defendant Payntour Thomas laborer 591645 591645 Payntour, Thomas, of Chaldewell, Essex, laborer 4
5147878 2400521 2400521 defendant Hobbe Lawrence laborer 594207 594207 Hobbe, Lawrence, of Chaldewell, laborer 5
5147879 2400521 2400521 defendant Neweman John laborer 849958 849958 Neweman, John, of Cravenam, Essex, laborer 6

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 14.576ms