home / cp40x

names

7 rows where case_id = 2359399

✎ 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
5008562 2359399 2359399 plaintiff Talbot John knight, son & heir of the Earl of Shropshire   Talbot, John, knight, son & heir of the Earl of Shropshire 0
5008563 2359399 2359399 defendant Staley Nicholas yeoman 591227 591227 Staley, Nicholas, of Hope, yeoman 0
5008564 2359399 2359399 defendant del Midylton Thomas yeoman 591227 591227 del Midylton, Thomas, of Hope, yeoman 1
5008565 2359399 2359399 defendant Mydilton William yeoman 587352 587352 Mydilton, William, of Aston, yeoman 2
5008566 2359399 2359399 defendant Glossop William yeoman 664275 664275 Glossop, William, of Offerton, yeoman 3
5008567 2359399 2359399 defendant Nedham John yeoman 834363 834363 Nedham, John, of Haversage, yeoman 4
5008568 2359399 2359399 defendant Nedham Robert husbandman 834363 834363 Nedham, Robert, of Haversage, husbandman 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 18.813ms