home / cp40x

names

5 rows where case_id = 2130561

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4301259 2130561 2130561 plaintiff ap Lluwellen Rice ap John     ap Lluwellen, Rice ap John 0
4301260 2130561 2130561 defendant ap John John ap Richard clerk 585869 585869 ap John, John ap Richard, of London, or of Kissilliocke, Denbigh, clerk 0
4301261 2130561 2130561 defendant ap Harry Richard ap John gent 585869 585869 ap Harry, Richard ap John, of London, or of Rithyn, Denbigh, gent 1
4301262 2130561 2130561 defendant Lloyd Maurice Griffith yeoman 585869 585869 Lloyd, Maurice Griffith, of London, or of Gryffyliog, Denbigh, yeoman 2
4301263 2130561 2130561 defendant ap Morris Robert yeoman 585869 585869 ap Morris, Robert, of London, yeoman 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 13.206ms