home / cp40x

names

5 rows where case_id = 2002471

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3936321 2002471 2002471 plaintiff Makenter John   603202 603202 Makenter, John, of King's Lynn 0
3936322 2002471 2002471 defendant Conyers Anthony gent 655441 655441 Conyers, Anthony, of Scardborough, Yorks, gent 0
3936323 2002471 2002471 defendant Luton Thomas gent 655442 655442 Luton, Thomas, of Scardborough, gent 1
3936324 2002471 2002471 defendant Conyers Christopher of Scarborough gent   Conyers, Christopher of Scarborough, gent 2
3936325 2002471 2002471 defendant Harwod William yeoman 655443 655443 Harwod, William, of Scarborough, yeoman 3

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