home / cp40x

names

7 rows where case_id = 2339957

✎ 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
4943560 2339957 2339957 plaintiff Goolde John (legal representative)   Goolde, John, executor of 0
4943561 2339957 2339957 plaintiff Kellowe Nicholas     Kellowe, Nicholas 1
4943562 2339957 2339957 defendant Cook John hosteler 588084 588084 Cook, John, of Chichester, hosteler 0
4943563 2339957 2339957 defendant Mory William gent 774293 774293 Mory, William, of Chaweton, Hants, gent 1
4943564 2339957 2339957 defendant Orped John butcher 589302 589302 Orped, John, of Abyndon, Berks, butcher 2
4943565 2339957 2339957 defendant Danaster John gent 585977 585977 Danaster, John, of Gildeford, Surrey, gent 3
4943566 2339957 2339957 defendant Okeshete Thomas husbandman 825483 825483 Okeshete, Thomas, of Pryoures Dene, Hants, husbandman 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.767ms