home / cp40x

names

7 rows where case_id = 2489603

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5449027 2489603 2489603 plaintiff Maynard Richard (legal representative) 596839 596839 Maynard, Richard, of Launston, executors of 0
5449028 2489603 2489603 plaintiff Skelton H_     Skelton, H_(? 1
5449029 2489603 2489603 plaintiff Skelton Alice     Alice, his wife 2
5449030 2489603 2489603 defendant Bant William gent 812533 812533 Bant, William, of Bant, gent 0
5449031 2489603 2489603 defendant Bodygode Walter gent 587287 587287 Bodygode, Walter, of Launceston, gent 1
5449032 2489603 2489603 defendant Wyndsore John gent 587287 587287 Wyndsore, John, of Launceston, gent 2
5449033 2489603 2489603 defendant Kene John husbandman 887009 887009 Kene, John, of Penpont in Alternon, husbandman 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 13.867ms