home / cp40x

names

6 rows where case_id = 1965010

✎ 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
3822729 1965010 1965010 plaintiff Sturgeon John haberdasher 585869 585869 Sturgeon, John, of London, haberdasher 0
3822730 1965010 1965010 defendant Rede William smith 635032 635032 Rede, William, of Estwyk, Herts, smith 0
3822731 1965010 1965010 defendant Prykloff John pulter 635033 635033 Prykloff, John, of Salford, Herts, pulter 1
3822732 1965010 1965010 defendant Want William smith 635034 635034 Want, William, of Stansted Mountfychett, Essex, smith 2
3822733 1965010 1965010 defendant Markhall William pulter 618533 618533 Markhall, William, of of Stansted Mountfychett, pulter 3
3822734 1965010 1965010 defendant Myles Robert   635036 635036 Myles, Robert, of Cocksall, Essex, apothecary 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 15.682ms