home / cp40x

names

8 rows where case_id = 1998776

✎ 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
3925300 1998776 1998776 plaintiff Wethereld Henry gent   Wethereld, Henry, gent 0
3925301 1998776 1998776 defendant Gower Edward   652733 652733 Gower, Edward, of Stytman, Yorks, knight 0
3925302 1998776 1998776 defendant Fayrfax William   607577 607577 Fayrfax, William, of Steton, Yorks, knight 1
3925303 1998776 1998776 defendant Proctour Gabriel gent 585869 585869 Proctour, Gabriel, of London, gent 2
3925304 1998776 1998776 defendant Preston Arthur gent 645818 645818 Preston, Arthur, of Bylburgh, Yorks, gent 3
3925305 1998776 1998776 defendant Berdsay William gent 652734 652734 Berdsay, William, of Berdsay, Lancs, gent 4
3925306 1998776 1998776 defendant Cowper John yeoman 652735 652735 Cowper, John, of Borowby, Yorks, yeoman 5
3925307 1998776 1998776 defendant Calverley Thomas gent 652736 652736 Calverley, Thomas, of Farebryge, Yorks, gent 6

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