home / cp40x

names

6 rows where case_id = 1971946

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3844891 1971946 1971946 plaintiff Dormer Michael mercer 585869 585869 Dormer, Michael, of London, mercer 0
3844892 1971946 1971946 defendant Osborne Avice widow 638799 638799 Osborne, Avice, of Hartlyp, Kent, widow 0
3844893 1971946 1971946 defendant Wrymprys William chapman 595246 595246 Wrymprys, William, of Uppyngham, Rutland, chapman 1
3844894 1971946 1971946 defendant Osborne John gent 638800 638800 Osborne, John, of Hertlyp, Kent, gent 2
3844895 1971946 1971946 defendant Morton Richard mercer 586960 586960 Morton, Richard, of Keteryng, Nhants, mercer 3
3844896 1971946 1971946 defendant Blucke John husbandman 638801 638801 Blucke, John, of Stoke Mandevile, Bucks, 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.474ms