home / cp40x

names

7 rows where case_id = 2182950

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4443552 2182950 2182950 plaintiff Catom John   757127 757127 Catom, John, of Snartford 0
4443553 2182950 2182950 plaintiff Yerdeburgh John de clerk   Yerdeburgh, John de, clerk 1
4443554 2182950 2182950 defendant Pacok William   757128 757128 Pacok, William, of Welton by Ryland 0
4443555 2182950 2182950 defendant Py-- Walter     Py--, Walter 1
4443556 2182950 2182950 defendant roberdson John   757129 757129 roberdson, John, of Ryland 2
4443557 2182950 2182950 defendant Cateby John servant of John Cateby   Cateby, John, servant of John Cateby 3
4443558 2182950 2182950 defendant Cateby John de   757129 757129 Cateby, John de, of Ryland 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 13.115ms