home / cp40x

names

7 rows where case_id = 1985939

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3887066 1985939 1985939 plaintiff Closse Richard     Closse, Richard 0
3887067 1985939 1985939 defendant Hubbard Thomas clothier 614964 614964 Hubbard, Thomas, of Byddynden, Kent, clothier 0
3887068 1985939 1985939 defendant Bocher Thomas clothier 591941 591941 Bocher, Thomas, of Melton, Kent, clothier 1
3887069 1985939 1985939 defendant Bechyng John clothier 590079 590079 Bechyng, John, of Cranebroke, Kent, clothier 2
3887070 1985939 1985939 defendant Tayllour Peter clothier 585864 585864 Tayllour, Peter, of Cranebroke, clothier 3
3887071 1985939 1985939 defendant Whyte William clothier 645722 645722 Whyte, William, of Hathefeld, Sussex, clothier 4
3887072 1985939 1985939 defendant Thorne alias Randall William clothier 586127 586127 Thorne alias Randall, William, of Godalmyng, clothier 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 24.444ms