home / cp40x

names

7 rows where case_id = 2520065

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5550097 2520065 2520065 plaintiff Bulwyke Philip (legal representative)   Bulwyke, Philip, executors of 0
5550098 2520065 2520065 plaintiff Purfote Robert grocer 585869 585869 (Purfote, Robert, of London, grocer 1
5550099 2520065 2520065 defendant Bratton Nicholas gent 612435 612435 Bratton, Nicholas, of Braunton, Devon, gent 0
5550100 2520065 2520065 defendant Nycoll Peter gent 600883 600883 Nycoll, Peter, of Bodman, Cornw, gent 1
5550101 2520065 2520065 defendant Wodecoke John yeoman 595909 595909 Wodecoke, John, of Bodman, yeoman 2
5550102 2520065 2520065 defendant Tregasowe John gent 899019 899019 Tregasowe, John, of Keskerdeburgh, Cornw, gent 3
5550103 2520065 2520065 defendant Crokker John gent 899020 899020 Crokker, John, of Lastwythell, Cornw, gent 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 13.55ms