home / cp40x

names

8 rows where case_id = 1872143

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3614348 1872143 1872143 plaintiff Brent Richard (legal representative)   Brent, Richard, executors of 0
3614349 1872143 1872143 plaintiff Brent Thomas clerk   (Brent, Thomas, clerk 1
3614350 1872143 1872143 plaintiff Drakes Richard     Drakes, Richard 2
3614351 1872143 1872143 defendant Bygon John yeoman 594045 594045 Bygon, John, of Aylesford, Hants, yeoman 0
3614352 1872143 1872143 defendant Foster John smith 586487 586487 Foster, John, of Suthwerk, smith 1
3614353 1872143 1872143 defendant Freman John glover 586487 586487 Freman, John, of Suthwerk, glover 2
3614354 1872143 1872143 defendant Mille John clothier 585972 585972 Mille, John, of Abyngdon, Berks, clothier 3
3614355 1872143 1872143 defendant Reynold Thomas merchant 586254 586254 Reynold, Thomas, of Southampton, merchant 4

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