home / cp40x

names

9 rows where case_id = 2462680

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5358394 2462680 2462680 plaintiff Pawe Andrew     Pawe, Andrew 0
5358395 2462680 2462680 defendant Doughty John husbandman 595115 595115 Doughty, John, of Aylmerton, husbandman 0
5358396 2462680 2462680 defendant Doughty William husbandman 595115 595115 Doughty, William, of Aylmerton, husbandman 1
5358397 2462680 2462680 defendant Courby John carter 585936 585936 Courby, John, of Norwich, carter 2
5358398 2462680 2462680 defendant Welles Thomas yeoman 589874 589874 Welles, Thomas, of Claxton, yeoman 3
5358399 2462680 2462680 defendant Thompson William husbandman 599906 599906 Thompson, William, of Claston, husbandman 4
5358400 2462680 2462680 defendant Leem John husbandman 586420 586420 Leem, John, of Est Ruston, husbandman 5
5358401 2462680 2462680 defendant Ode Richard husbandman 633612 633612 Ode, Richard, of Thorp Market, husbandman 6
5358402 2462680 2462680 defendant Drake Nicholas husbandman 589927 589927 Drake, Nicholas, of Paston, husbandman 7

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.804ms