home / cp40x

names

7 rows where case_id = 2383403

✎ 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
5089831 2383403 2383403 plaintiff Lymsey Edward esq   Lymsey, Edward, esq 0
5089832 2383403 2383403 defendant Haryngton Richard   585869 585869 Haryngton, Richard, of London, knight 0
5089833 2383403 2383403 defendant Caterall John gent 636192 636192 Caterall, John, of Grenewych, gent 1
5089834 2383403 2383403 defendant Cotton James gent 585869 585869 Cotton, James, of London, gent 2
5089835 2383403 2383403 defendant A Wode Richard yeoman 585869 585869 A Wode, Richard, of London, yeoman 3
5089836 2383403 2383403 defendant Eglys John yeoman 585869 585869 Eglys, John, of London, yeoman 4
5089837 2383403 2383403 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 15.777ms