home / cp40x

names

7 rows where case_id = 1930805

✎ 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
3714415 1930805 1930805 plaintiff Belknap Edward knight   Belknap, Edward, knight, executor of 0
3714416 1930805 1930805 plaintiff Shelley William     Shelley, William 1
3714417 1930805 1930805 defendant Harcourt Simon   616445 616445 Harcourt, Simon, of Staunton, Oxon, knight 0
3714418 1930805 1930805 defendant Marten Richard yeoman 596528 596528 Marten, Richard, of Wytney, Oxon, yeoman 1
3714419 1930805 1930805 defendant Berket John yeoman 614630 614630 Berket, John, of Chaddesley, Worcs, yeoman 2
3714420 1930805 1930805 defendant Cowper Thomas yeoman 616446 616446 Cowper, Thomas, of Belborough, Worcs, yeoman 3
3714421 1930805 1930805 defendant Pell William husbandman 616447 616447 Pell, William, of Harborough, Worcs, 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 6.898ms