home / cp40x

names

6 rows where case_id = 1970428

✎ 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
3839962 1970428 1970428 plaintiff Wynshipp Richard     Wynshipp, Richard 0
3839963 1970428 1970428 defendant Harrys John yeoman 589206 589206 Harrys, John, of Buntyngford, yeoman 0
3839964 1970428 1970428 defendant Harryes Edward smith 600293 600293 Harryes, Edward, of Westmyll, smith 1
3839965 1970428 1970428 defendant Smythe William husbandman 625151 625151 Smythe, William, of Rusden, husbandman 2
3839966 1970428 1970428 defendant Bygrave John baker 587532 587532 Bygrave, John, of Asshewell, baker 3
3839967 1970428 1970428 defendant Holder Thomas laborer 638012 638012 Holder, Thomas, of Cressall, Essex, laborer 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.594ms