home / cp40x

names

8 rows where case_id = 2472922

✎ 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
5392465 2472922 2472922 plaintiff Savage Ralph gent   Savage, Ralph, gent 0
5392466 2472922 2472922 plaintiff Savage Edmund chaplain   Savage, Edmund, chaplain 1
5392467 2472922 2472922 defendant Plompton Robert   600369 600369 Plompton, Robert, of Plumpton, Yorks, knight, formerly esq 0
5392468 2472922 2472922 defendant Smyth Brian yeoman 882309 882309 Smyth, Brian, of Kenalton, Notts, yeoman 1
5392469 2472922 2472922 defendant Bek John yeoman 627112 627112 Bek, John, of Okebroke, Derbs, yeoman 2
5392470 2472922 2472922 defendant Aspynall William husbandman 624205 624205 Aspynall, William, of Okebroke, husbandman 3
5392471 2472922 2472922 defendant Wryght John husbandman 624205 624205 Wryght, John, of Okebroke, husbandman 4
5392472 2472922 2472922 defendant Preston Roger husbandman 624205 624205 Preston, Roger, of Okebroke, 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 15.991ms