home / cp40x

names

6 rows where case_id = 2387831

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5104759 2387831 2387831 plaintiff Chacombe John mercer 585869 585869 Chacombe, John, of London, mercer 0
5104760 2387831 2387831 defendant Goman Richard chapman or mercer 625623 625623 Goman, Richard, of Dunstabull, Beds, chapman or mercer 0
5104761 2387831 2387831 defendant Marchall William cordewainer 586117 586117 Marchall, William, of Coventry, cordewainer 1
5104762 2387831 2387831 defendant Hargresse Thomas stainer 585869 585869 Hargresse, Thomas, of London, stainer 2
5104763 2387831 2387831 defendant Boteler John sheather 585869 585869 Boteler, John, of London, or of Bokenham Castle, Norf, sheather 3
5104764 2387831 2387831 defendant Parker John chapman 600001 600001 Parker, John, of Harlowe, Essex, chapman 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 18.969ms