home / cp40x

names

6 rows where case_id = 2317046

✎ 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
4868243 2317046 2317046 plaintiff Iford John clerk   Iford, John, clerk 0
4868244 2317046 2317046 defendant Holcote John clerk 762563 762563 Holcote, John, of Staunton Dru, clerk 0
4868245 2317046 2317046 defendant Wyche Thomas clerk 814991 814991 Wyche, Thomas, of Belle, Dorset, clerk 1
4868246 2317046 2317046 defendant Whityng John clerk 814992 814992 Whityng, John, of Wayford juxta Crukern, clerk 2
4868247 2317046 2317046 defendant Saundres John clerk 625820 625820 Saundres, John, of Rympton, clerk 3
4868248 2317046 2317046 defendant Palmere Richard   590816 590816 Palmere, Richard, of Shirbourne, Dorset 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 15.861ms