home / cp40x

names

7 rows where case_id = 2373719

✎ 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
5057148 2373719 2373719 plaintiff Clopton John esq   Clopton, John, esq 0
5057149 2373719 2373719 plaintiff Turnour Henry gent   Turnour, Henry, gent 1
5057150 2373719 2373719 defendant Wylles William yeoman 599088 599088 Wylles, William, of Thornage, yeoman 0
5057151 2373719 2373719 defendant Drake Nicholas yeoman 588240 588240 Drake, Nicholas, of Waketon, yeoman 1
5057152 2373719 2373719 defendant Seman William yeoman 590538 590538 Seman, William, of Freton, yeoman 2
5057153 2373719 2373719 defendant Bakon Richard gent 608645 608645 Bakon, Richard, of Dekylburgh, gent 3
5057154 2373719 2373719 defendant Storour Robert gent 759598 759598 Storour, Robert, of Moryngthorp, gent 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 14.034ms