home / cp40x

names

6 rows where case_id = 2245086

✎ 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
4646655 2245086 2245086 plaintiff Rede Henry armourer 585869 585869 Rede, Henry, of London, armourer 0
4646656 2245086 2245086 defendant Clynton William   604281 604281 Clynton, William, of Warwickshire, knight, formerly esquire 0
4646657 2245086 2245086 defendant Joliff John cooper 625809 625809 Joliff, John, of St Mary Cray, Kent, cooper 1
4646658 2245086 2245086 defendant Lynne John clerk, formerly parson of the church inf Baldok   Lynne, John, clerk, formerly parson of the church inf Baldok 2
4646659 2245086 2245086 defendant Wolf Hugh   691063 691063 Wolf, Hugh, of Oxfordshire, knight 3
4646660 2245086 2245086 defendant Prendregest John knight   Prendregest, John, knight 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 14.893ms