home / cp40x

names

6 rows where case_id = 2367310

✎ 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
5035741 2367310 2367310 plaintiff Tottesden Walter     Tottesden, Walter 0
5035742 2367310 2367310 defendant Bakewell William miller 756293 756293 Bakewell, William, of Cateby, miller 0
5035743 2367310 2367310 defendant Webbe William husbandman 588382 588382 Webbe, William, of Frysby, husbandman 1
5035744 2367310 2367310 defendant Routhorne Henry husbandman 619157 619157 together with Routhorne, Henry, of Querndon, husbandman 2
5035745 2367310 2367310 defendant Howys John husbandman 616005 616005 Howys, John, of Rotheley, husbandman 3
5035746 2367310 2367310 defendant Moburley Roger husbandman 616005 616005 Moburley, Roger, of Rotheley, husbandman 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 13.042ms