home / cp40x

names

9 rows where case_id = 2404617

✎ 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
5161983 2404617 2404617 plaintiff Thwayte William gent   Thwayte, William, gent 0
5161984 2404617 2404617 defendant Snaythe John clerk 587210 587210 Snaythe, John, of Merston, clerk 0
5161985 2404617 2404617 defendant Snaythe William yeoman 587210 587210 Snaythe, William, of Merston, yeoman 1
5161986 2404617 2404617 defendant Snaythe Ralph yeoman 587210 587210 Snaythe, Ralph, of Merston, yeoman 2
5161987 2404617 2404617 defendant Bekk John yeoman 768318 768318 Bekk, John, of Clementhorp, yeoman 3
5161988 2404617 2404617 defendant Maune John yeoman 854845 854845 Maune, John, of Snellyngforth near Ripon, Yorks, yeoman 4
5161989 2404617 2404617 defendant Thomson John butcher 587266 587266 Thomson, John, of Rypon, butcher 5
5161990 2404617 2404617 defendant Lytton Robert butcher 587266 587266 Lytton, Robert, of Rypon, butcher 6
5161991 2404617 2404617 defendant Chaumbre Robert butcher 587266 587266 Chaumbre, Robert, of Rypon, butcher 7

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 17.225ms