home / cp40x

names

7 rows where case_id = 2383404

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5089838 2383404 2383404 plaintiff Lymsey Edward esq   Lymsey, Edward, esq 0
5089839 2383404 2383404 defendant Haryngton Richard   585869 585869 Haryngton, Richard, of London, knight 0
5089840 2383404 2383404 defendant Catesall John gent 602086 602086 Catesall, John, of Grenewich, gent 1
5089841 2383404 2383404 defendant Cotton James gent 585869 585869 Cotton, James, of London, gent 2
5089842 2383404 2383404 defendant A Wode Richard yeoman 585869 585869 A Wode, Richard, of London,yeoman 3
5089843 2383404 2383404 defendant Eglys John yeoman 585869 585869 Eglys, John, of London, yeoman 4
5089844 2383404 2383404 defendant Warton Hugh yeoman 585869 585869 Warton, Hugh, of London, yeoman 5

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