home / cp40x

names

8 rows where case_id = 2002243

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3935672 2002243 2002243 plaintiff Langton Thomas (legal representative) 585869 585869 Langton, Thomas, of London, skinner, executors of 0
3935673 2002243 2002243 plaintiff Judde Andrew knight   (Judde, Andrew, knight 1
3935674 2002243 2002243 plaintiff Judde Mary     Mary, his wife 2
3935675 2002243 2002243 defendant Colbarne John smith 603924 603924 Colbarne, John, of Henham, smith 0
3935676 2002243 2002243 defendant Trotte Richard smith   Trotte, Richard, smith 1
3935677 2002243 2002243 defendant Rychardson John smith 586312 586312 Rychardson, John, of Walden, smith 2
3935678 2002243 2002243 defendant Cawfeld William smith 655287 655287 Cawfeld, William, of Navestock, smith 3
3935679 2002243 2002243 defendant Hobard Roger smith 586312 586312 Hobard, Roger, of Walden, smith 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.079ms