home / cp40x

names

6 rows where case_id = 2458802

✎ 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
5345672 2458802 2458802 plaintiff Wode Richard (legal representative) 586117 586117 Wode, Richard, of Coventry, grocer, executors of 0
5345673 2458802 2458802 plaintiff Wode Thomas   586117 586117 (Wode, Thomas, of Coventry 1
5345674 2458802 2458802 plaintiff Taillour William knight   Taillour, William, knight 2
5345675 2458802 2458802 defendant Holme William chapman 586067 586067 Holme, William, of York, chapman 0
5345676 2458802 2458802 defendant Hertwell John chapman 641664 641664 Hertwell, John, of Asshby de la Zouche, Leics, chapman 1
5345677 2458802 2458802 defendant Vendon William yeoman 587516 587516 Vendon, William, of Stafford, yeoman 2

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 10.466ms