home / cp40x

names

8 rows where case_id = 2332245

✎ 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
4918302 2332245 2332245 plaintiff Gurry William     Gurry, William 0
4918303 2332245 2332245 defendant Wryght John carpenter 603780 603780 Wryght, John, of Higham Ferres, carpenter 0
4918304 2332245 2332245 defendant Craunfeld John smith 772867 772867 Craunfeld, John, of Stanwygge, smith 1
4918305 2332245 2332245 defendant Wayte John   821876 821876 Wayte, John, of Caldecote, shehpherd 2
4918306 2332245 2332245 defendant Glover Robert glover 603780 603780 Glover, Robert, of Higham Ferres, glover 3
4918307 2332245 2332245 defendant Bryam Geoffrey   821877 821877 Bryam, Geoffrey, of Chelveston, husbandamn 4
4918308 2332245 2332245 defendant Smyth William   821878 821878 Smyth, William, of Chlveston, husbandamn 5
4918309 2332245 2332245 defendant Warnere William carpenter 603780 603780 Warnere, William, of Higham Ferres, carpenter 6

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.734ms