home / cp40x

names

5 rows where case_id = 2478812

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5412923 2478812 2478812 plaintiff Ferclove John   594040 594040 Ferclove, John, of St Giles in the Fields 0
5412924 2478812 2478812 defendant Thomas William clerk 824888 824888 Thomas, William, of Neweton Ferrers, Devon, clerk 0
5412925 2478812 2478812 defendant Gorton Jacob tailor 604961 604961 Gorton, Jacob, of Westminster, Middx, tailor 1
5412926 2478812 2478812 defendant Flemmyng Christopher Baron of Slane   Flemmyng, Christopher, Baron of Slane, executor of 2
5412927 2478812 2478812 defendant Denys John gent 883324 883324 Denys, John, of Orley, Devon, gent 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 14.942ms