home / cp40x

names

5 rows where case_id = 2104985

✎ 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
4227179 2104985 2104985 plaintiff Hodges Robert     Hodges, Robert 0
4227180 2104985 2104985 defendant Tayler Thomas yeoman 609098 609098 Tayler, Thomas, of Maidston, yeoman 0
4227181 2104985 2104985 defendant Jenkyn John carpenter 718913 718913 Jenkyn, John, of Boughton Munchelsey, carpenter 1
4227182 2104985 2104985 defendant Byam John fuller 623921 623921 Byam, John, of Loose, fuller 2
4227183 2104985 2104985 defendant Evernden James fuller 623921 623921 Evernden, James, of Loose, fuller 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.031ms