home / cp40x

names

7 rows where case_id = 2286553

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4769881 2286553 2286553 plaintiff Polton Thomas   588084 588084 Polton, Thomas, of Chichester, bishop & clerk 0
4769882 2286553 2286553 plaintiff Eston Walter clerk   Eston, Walter, clerk 1
4769883 2286553 2286553 defendant Feryby Robert ironmonger 586067 586067 Feryby, Robert, of York, ironmonger 0
4769884 2286553 2286553 defendant Preston John ironmonger 586067 586067 Preston, John, of York, ironmonger 1
4769885 2286553 2286553 defendant Lynehous John yeoman 610443 610443 Lynehous, John, of Pokelyngton, yeoman 2
4769886 2286553 2286553 defendant Rychere William yeoman 610443 610443 Rychere, William, of Pokelyngton, yeoman 3
4769887 2286553 2286553 defendant Harpour Thomas yeoman 610443 610443 Harpour, Thomas, of Pokelyngton, yeoman 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.936ms