home / cp40x

names

7 rows where case_id = 2510955

✎ 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
5519559 2510955 2510955 plaintiff Bery John     Bery, John 0
5519560 2510955 2510955 defendant Drewery Thomas husbandman 596329 596329 Drewery, Thomas, of Bredgare, husbandman 0
5519561 2510955 2510955 defendant Brenchesle Richard husbandman 895792 895792 Brenchesle, Richard, of Biknore, husbandman 1
5519562 2510955 2510955 defendant Plotte Thomas husbandman 589336 589336 Plotte, Thomas, of Stokbery, husbandman 2
5519563 2510955 2510955 defendant Baker John smith 589336 589336 Baker, John, of Stokbery, smith 3
5519564 2510955 2510955 defendant Bunton John (legal representative)   Bunton, John, executor of 4
5519565 2510955 2510955 defendant Norton Thomas husbandman 589336 589336 Norton, Thomas, of Stokbery, 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.303ms