home / cp40x

names

7 rows where case_id = 2533021

✎ 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
5593708 2533021 2533021 plaintiff Ashby John abbot of Derley Abbey   Ashby, John, abbot of Derley Abbey 0
5593709 2533021 2533021 defendant Oldham Thomas yeoman 903849 903849 Oldham, Thomas, of Lyllestrete, yeoman 0
5593710 2533021 2533021 defendant Cotton James yeoman 903850 903850 Cotton, James, of Underwode, Notts, yeoman 1
5593711 2533021 2533021 defendant Robothom Christopher, junior tailor 688157 688157 Robothom, Christopher, junior, of Ryddyng, tailor 2
5593712 2533021 2533021 defendant Nicholson Hugh husbandman 688157 688157 Nicholson, Hugh, of Ryddyng, husbandman 3
5593713 2533021 2533021 defendant Blande Thomas laborer 688157 688157 Blande, Thomas, of Ryddyng, laborer 4
5593714 2533021 2533021 defendant Nothall James yeoman 688157 688157 Nothall, James, of Ryddyng, yeoman 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.171ms