home / cp40x

names

7 rows where case_id = 2499550

✎ 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
5482011 2499550 2499550 plaintiff Grave John   589796 589796 Grave, John, of Leek 0
5482012 2499550 2499550 defendant Wright John clerk 592609 592609 Wright, John, of Leverton, clerk 0
5482013 2499550 2499550 defendant Larkys Richard yeoman 589796 589796 Larkys, Richard, of Leek, yeoman 1
5482014 2499550 2499550 defendant Catson John husbandman 589796 589796 Catson, John, of Leek, husbandman 2
5482015 2499550 2499550 defendant Catson Richard husbandman 589796 589796 Catson, Richard, of Leek, husbandman 3
5482016 2499550 2499550 defendant Dymmok Thomas merchant 684479 684479 Dymmok, Thomas, of Cunesby, merchant 4
5482017 2499550 2499550 defendant Leek John gent 589796 589796 Leek, John, of Leek, gent 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.161ms