home / cp40x

names

6 rows where case_id = 2504338

✎ 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
5497965 2504338 2504338 plaintiff Mille John mercer 585869 585869 Mille, John, of London, mercer 0
5497966 2504338 2504338 defendant Wylson William chapman 605229 605229 Wylson, William, of Stanys, Middx, chapman 0
5497967 2504338 2504338 defendant Bennys Thomas mercer 893564 893564 Bennys, Thomas, of Teukisbury, Glos, mercer 1
5497968 2504338 2504338 defendant Thirston Thomas husbandman 836713 836713 Thirston, Thomas, of Higham, Kent, husbandman 2
5497969 2504338 2504338 defendant Matsall Thomas chapman 595717 595717 Matsall, Thomas, of Walsyngham, Norf, chapman 3
5497970 2504338 2504338 defendant Kynnard John tailor 903750 903750 Kynnard, John, of Teukysbury, tailor 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 5.609ms