home / cp40x

names

6 rows where case_id = 2457276

✎ 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
5340644 2457276 2457276 plaintiff Parker Thomas ironmonger 585869 585869 Parker, Thomas, of London, ironmonger 0
5340645 2457276 2457276 defendant Janyn John smith 595278 595278 Janyn, John, of Horndon, smith 0
5340646 2457276 2457276 defendant Hamond John husbandman 875328 875328 Hamond, John, of Shelle juxta Brendewode, husbandman 1
5340647 2457276 2457276 defendant Motte John waterman 772995 772995 Motte, John, of Shobery, waterman 2
5340648 2457276 2457276 defendant Osbern John husbandman 875329 875329 Osbern, John, of Wavenden, Beds, husbandman 3
5340649 2457276 2457276 defendant Buk Thomas butcher 875330 875330 Buk, Thomas, of Hddysdon, Herts, butcher 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.863ms