home / cp40x

names

6 rows where case_id = 2505241

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5500976 2505241 2505241 plaintiff Shyngwell Thomas     Shyngwell, Thomas 0
5500977 2505241 2505241 defendant Bussh William husbandman 598269 598269 Bussh, William, of Leyton, husbandman 0
5500978 2505241 2505241 defendant Halle John husbabndman 605122 605122 Halle, John, of Est Ham, husbabndman 1
5500979 2505241 2505241 defendant Penreth Richard tanner 589773 589773 Penreth, Richard, of Wodeford, tanner 2
5500980 2505241 2505241 defendant Maskall Joan widow 595206 595206 Maskall, Joan, of Walcomstowe, widow 3
5500981 2505241 2505241 defendant Baker Nicholas   588671 588671 Baker, Nicholas, of Berkyng, brush maker 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 14.391ms