home / cp40x

names

5 rows where case_id = 1903440

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3627445 1903440 1903440 plaintiff Bothe Robert rector of Sodby   Bothe, Robert, rector of Sodby 0
3627446 1903440 1903440 plaintiff Cutler Alexander vicar of Saxylby   Cutler, Alexander, vicar of Saxylby 1
3627447 1903440 1903440 plaintiff Awebray Robert chaplain of Lincoln Cathedral   Awebray, Robert, chaplain of Lincoln Cathedral 2
3627448 1903440 1903440 defendant Wakefeld Robert gent 597140 597140 Wakefeld, Robert, of Dunham on Trent, Notts, gent 0
3627449 1903440 1903440 defendant Beryg John husbandman 597141 597141 Beryg, John, of Dunham on Trent, husbandman 1

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