home / cp40x

names

6 rows where case_id = 1980187

✎ 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
3869939 1980187 1980187 plaintiff Wheler Robert grocer 585869 585869 Wheler, Robert, of London, grocer 0
3869940 1980187 1980187 defendant Reycroft Henry clothman 585965 585965 Reycroft, Henry, of Bylston, Suff, clothman 0
3869941 1980187 1980187 defendant Balle John clothman 609685 609685 Balle, John, of Carsey, Suff, clothman 1
3869942 1980187 1980187 defendant Motam John clothman 586402 586402 Motam, John, of Hadley, Suff, clothman 2
3869943 1980187 1980187 defendant Bellam Ralph chapman 642763 642763 Bellam, Ralph, of Barfowld, Suff, chapman 3
3869944 1980187 1980187 defendant Strond Robert clothman 591643 591643 Strond, Robert, of Naylond, Suff, clothman 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 17.573ms