home / cp40x

names

6 rows where case_id = 2502979

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5493529 2502979 2502979 plaintiff Elise Thomas (legal representative) 586912 586912 Elise, Thomas, of Melford, executor of Colet, Robert, of Melford, executors of 0
5493530 2502979 2502979 plaintiff Elise Joan     (Elise, Joan 1
5493531 2502979 2502979 plaintiff Jemys Thomas     Jemys, Thomas 2
5493532 2502979 2502979 defendant Clerk John fuller 771872 771872 Clerk, John, of Cogsale, Essex, fuller 0
5493533 2502979 2502979 defendant Skylman John fuller 587004 587004 Skylman, John, of Preston, fuller 1
5493534 2502979 2502979 defendant Comayn William clothmaker 824323 824323 Comayn, William, of Brent Illye, clothmaker 2

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 16.876ms