home / cp40x

names

7 rows where case_id = 2501056

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5487149 2501056 2501056 plaintiff Stokes Thomas   591859 591859 Stokes, Thomas, of St Mary Stronde 0
5487150 2501056 2501056 defendant Lovet Emma widow 585929 585929 Lovet, Emma, of St Clement Danes, widow 0
5487151 2501056 2501056 defendant Cheseman Roger laborer 585929 585929 Cheseman, Roger, of St Clement Danes, laborer 1
5487152 2501056 2501056 defendant Bocher Robert butcher 585929 585929 Bocher, Robert, of St Clement Danes, butcher 2
5487153 2501056 2501056 defendant Coplond William scrivener 585929 585929 Coplond, William, of St Clement Danes, scrivener 3
5487154 2501056 2501056 defendant Preston Richard (legal representative) 802648 802648 Preston, Richard, of Querndon, Leics, gent, executrix of 4
5487155 2501056 2501056 defendant Preston Maud widow 585869 585869 Preston, Maud, of London, widow 5

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