home / cp40x

names

7 rows where case_id = 2334589

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4926093 2334589 2334589 plaintiff Provale Thomas (legal representative) 823125 823125 Provale, Thomas, of Menelesham, executors of 0
4926094 2334589 2334589 plaintiff Dunch Thomas clerk   (Dunch, Thomas, clerk 1
4926095 2334589 2334589 plaintiff Hoxon Richard     Hoxon, Richard 2
4926096 2334589 2334589 plaintiff Dunche Robert butcher 589379 589379 Dunche, Robert, of Mendelesham, butcher 3
4926097 2334589 2334589 defendant Wolmer Nicholas   823126 823126 Wolmer, Nicholas, of Great Holand, Essex 0
4926098 2334589 2334589 defendant Hereward John shoemaker 762387 762387 Hereward, John, of Great Holand, shoemaker 1
4926099 2334589 2334589 defendant Sweter John husbandman 762387 762387 Sweter, John, of Great Holand, husbandman 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 14.07ms