home / cp40x

names

6 rows where case_id = 2339610

✎ 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
4942404 2339610 2339610 plaintiff Foster William tailor 825336 825336 Foster, William, of London, St Brigid in Flete Strete, tailor 0
4942405 2339610 2339610 defendant Parys Richard gent 611504 611504 Parys, Richard, of Westerham, Kent, gent 0
4942406 2339610 2339610 defendant Gyfford Nicholas esq 620929 620929 Gyfford, Nicholas, of Besford, Worcs, esq 1
4942407 2339610 2339610 defendant Skarisbrek Gilbert esq 650717 650717 Skarisbrek, Gilbert, of Bolde, Lancs, esq 2
4942408 2339610 2339610 defendant Dryffeld John esq 660592 660592 Dryffeld, John, of Kingston on Thames, Surrey, or of King's household, esq 3
4942409 2339610 2339610 defendant Banastre Henry gent 591581 591581 Banastre, Henry, of Lambehith, Surrey, 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 13.333ms