home / cp40x

names

7 rows where case_id = 2276543

✎ 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
4736482 2276543 2276543 plaintiff Tasburgh William (legal representative) 626707 626707 Tasburgh, William, of Reylegh, Essex, clerk & parson, executors of 0
4736483 2276543 2276543 plaintiff Cambrigge William alderman 585869 585869 (Cambrigge, William, of London, alderman 1
4736484 2276543 2276543 plaintiff Whitby John     Whitby, John 2
4736485 2276543 2276543 defendant Nene John husbandman 793616 793616 Nene, John, of Overe Gelham, Essex, husbandman 0
4736486 2276543 2276543 defendant Okman John husbandman 761454 761454 Okman, John, of Hadlegh, Essex, husbandman 1
4736487 2276543 2276543 defendant Barfoot John husbandman 587635 587635 Barfoot, John, of Hadlegh, husbandman 2
4736488 2276543 2276543 defendant Fuller John   793617 793617 Fuller, John, of Oklee, Essex 3

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