home / cp40x

names

6 rows where case_id = 2397782

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5138584 2397782 2397782 plaintiff Rotheley William   588791 588791 Rotheley, William, of Derteford 0
5138585 2397782 2397782 defendant Hodesole William esq 851739 851739 Hodesole, William, of Asshe next Derteford, esq 0
5138586 2397782 2397782 defendant Stace Walter butcher 843219 843219 Stace, Walter, of West Pecham, butcher 1
5138587 2397782 2397782 defendant Somer Wiliam husbandman 610855 610855 Somer, Wiliam, of Upmynster, Essex, husbandman 2
5138588 2397782 2397782 defendant Tanner William (legal representative) 777642 777642 Tanner, William, of Billerika, executor of 3
5138589 2397782 2397782 defendant Tanner William husbandman 607076 607076 Tanner, William, of Billerika, Essex, husbandman 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 12.188ms