home / cp40x

names

7 rows where case_id = 2292061

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4787192 2292061 2292061 plaintiff Graver Walter     Graver, Walter 0
4787193 2292061 2292061 defendant Rome Peter gent 802333 802333 Rome, Peter, of Cattebeston, gent 0
4787194 2292061 2292061 defendant Rome John gent 588211 588211 Rome, John, of Ledes, gent 1
4787195 2292061 2292061 defendant Wryght John   797871 797871 Wryght, John, of Yedon, wright 2
4787196 2292061 2292061 defendant Holbek John yeoman 586067 586067 Holbek, John, of York, yeoman 3
4787197 2292061 2292061 defendant Bulmer John saddler 586067 586067 Bulmer, John, of York, saddler 4
4787198 2292061 2292061 defendant Hornby Thomas, senior saddler 586067 586067 Hornby, Thomas, senior, of York, saddler 5

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.644ms