home / cp40x

names

8 rows where case_id = 1956680

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3796206 1956680 1956680 plaintiff Drylond Anthony gent   Drylond, Anthony, gent 0
3796207 1956680 1956680 defendant Babthorpp William esq   Babthorpp, William, esq 0
3796208 1956680 1956680 defendant Morres John     Morres, John 1
3796209 1956680 1956680 defendant Walker Robert     Walker, Robert 2
3796210 1956680 1956680 defendant Constable Robert gent   Constable, Robert, gent 3
3796211 1956680 1956680 defendant Langton Thomas esq 603230 603230 Langton, Thomas, of Ricall, esq 4
3796212 1956680 1956680 defendant Alleyn John gent 593675 593675 Alleyn, John, of Brayton, gent 5
3796213 1956680 1956680 defendant Fenteman William clerk   Fenteman, William, clerk 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 21.691ms