home / cp40x

names

5 rows where case_id = 2390926

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5115378 2390926 2390926 plaintiff Moreton William clerk, chancelor of York Cathedral   Moreton, William, clerk, chancelor of York Cathedral 0
5115379 2390926 2390926 defendant Fotehede John (legal representative) 848126 848126 Fotehede, John, of Waghen, Holdernes, yeoman, executor of 0
5115380 2390926 2390926 defendant Fotehede Robert husbandman 680784 680784 (Fotehede, Robert, of Waghen, husbandman 1
5115381 2390926 2390926 defendant Fotehede Isabel widow 680784 680784 together with Fotehede, Isabel, of Waghen, widow 2
5115382 2390926 2390926 defendant Fotehede George husbandman 680784 680784 Fotehede, George, of Waghen, husbandman 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 16.305ms