home / cp40x

names

7 rows where case_id = 2282079

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4755431 2282079 2282079 plaintiff atte Welle Simon     atte Welle, Simon 0
4755432 2282079 2282079 defendant Monde John laborer 755065 755065 Monde, John, of Haverbergh, laborer 0
4755433 2282079 2282079 defendant Gerveys Thomas husbandman 767328 767328 Gerveys, Thomas, of Thirneby, husbandman 1
4755434 2282079 2282079 defendant Prest William husbandman 597527 597527 Prest, William, of Stokton, husbandman 2
4755435 2282079 2282079 defendant Walssh Adam husbandman 797278 797278 Walssh, Adam, of Evynton, husbandman 3
4755436 2282079 2282079 defendant Tyell Richard husbandman 600403 600403 Tyell, Richard, of Hoghton, husbandman 4
4755437 2282079 2282079 defendant Newenham John husbandman 767328 767328 Newenham, John, of Thirneby, husbandman 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 15.428ms