home / cp40x

names

6 rows where case_id = 1872853

✎ 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
3616697 1872853 1872853 plaintiff Dynne Robert gent 589042 589042 Dynne, Robert, of Heydon, gent 0
3616698 1872853 1872853 defendant Hewar John, senior yeoman 589436 589436 Hewar, John, senior, of Oxburgh, yeoman 0
3616699 1872853 1872853 defendant Mandolff Henry shoemaker 590542 590542 Mandolff, Henry, of Fouldon, shoemaker 1
3616700 1872853 1872853 defendant Mandolff Robert shoemaker 590542 590542 Mandolff, Robert, of Fouldon, shoemaker 2
3616701 1872853 1872853 defendant Quarles John husbandman 587210 587210 Quarles, John, of Merston, husbandman 3
3616702 1872853 1872853 defendant Quarles William yeoman 591187 591187 Quarles, William, of Wyveton juxta Mare, yeoman 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 15.136ms