home / cp40x

names

7 rows where case_id = 2500540

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5485375 2500540 2500540 plaintiff Plomer Robert     Plomer, Robert 0
5485376 2500540 2500540 defendant Wyllot Richard husbandman 611035 611035 Wyllot, Richard, of Upmynster, husbandman 0
5485377 2500540 2500540 defendant Wyllot John husbandman 611035 611035 Wyllot, John, of Upmynster, husbandman 1
5485378 2500540 2500540 defendant Shodwell Richard gent 602502 602502 Shodwell, Richard, of Prytwell, gent 2
5485379 2500540 2500540 defendant Glesdale Richard husbandman 593617 593617 Glesdale, Richard, of Chyngford, husbandman 3
5485380 2500540 2500540 defendant Fen John of Magna Badue smith   Fen, John of Magna Badue, smith 4
5485381 2500540 2500540 defendant Clerke John carpenter 880724 880724 Clerke, John, of Byrchaunger, carpenter 5

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.08ms