home / cp40x

names

6 rows where case_id = 2494096

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5463824 2494096 2494096 plaintiff Sparke William draper 585869 585869 Sparke, William, of London, draper 0
5463825 2494096 2494096 defendant Markday Richard clothman 585965 585965 Markday, Richard, of Bylston, Suff, clothman 0
5463826 2494096 2494096 defendant Cristemasse Richard clothman 604018 604018 Cristemasse, Richard, of Colchester, Essex, clothman 1
5463827 2494096 2494096 defendant Cowebrygge John clothman 586470 586470 Cowebrygge, John, of Colchester, clothman 2
5463828 2494096 2494096 defendant Colyns John husbandman 591239 591239 Colyns, John, of Hakeney, Middx, husbandman 3
5463829 2494096 2494096 defendant Marshall William smith 591738 591738 Marshall, William, of Ledes, Yorks, smith 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 18.391ms