home / cp40x

names

6 rows where case_id = 2327295

✎ 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
4902187 2327295 2327295 plaintiff Pole John esq   Pole, John, esq 0
4902188 2327295 2327295 defendant Gowshill William   585869 585869 Gowshill, William, of London, knight 0
4902189 2327295 2327295 defendant Thomson Robert mariner 599036 599036 Thomson, Robert, of Hull, Yorks, mariner 1
4902190 2327295 2327295 defendant Payn William, junior merchant 586254 586254 Payn, William, junior, of Southampton, merchant 2
4902191 2327295 2327295 defendant Berde John barber 592217 592217 Berde, John, of Chichester, Sussex, barber 3
4902192 2327295 2327295 defendant Kede John mariner 658257 658257 Kede, John, of Kyngeswere, Devon, mariner 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 18.627ms