home / cp40x

names

7 rows where case_id = 2421605

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5220191 2421605 2421605 plaintiff Huby Thomas   860755 860755 Huby, Thomas, of Scampston 0
5220192 2421605 2421605 defendant Ellerby Adam yeoman 860756 860756 Ellerby, Adam, of Ellerby, Whitbystrand, yeoman 0
5220193 2421605 2421605 defendant Carvour John fletcher 651195 651195 Carvour, John, of Scardburgh, fletcher 1
5220194 2421605 2421605 defendant Nod Thomas chaplain 716969 716969 Nod, Thomas, of Kirkby Moreside, chaplain 2
5220195 2421605 2421605 defendant Rande Ralph butcher 586956 586956 Rande, Ralph, of Semer, butcher 3
5220196 2421605 2421605 defendant Marsshall Thomas executorsof   Marsshall, Thomas, executorsof 4
5220197 2421605 2421605 defendant Bland Thomas hosier 716969 716969 (Bland, Thomas, of Kirkby Moreside, hosier 5

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