home / cp40x

names

8 rows where case_id = 2335916

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4930422 2335916 2335916 plaintiff Toker Robert (legal representative)   Toker, Robert, executors of 0
4930423 2335916 2335916 plaintiff Toker Margaret formerly wife of Testator   (Toker, Margaret, formerly wife of Testator 1
4930424 2335916 2335916 plaintiff Toker John, senior     Toker, John, senior 2
4930425 2335916 2335916 plaintiff Toker Stephen     Toker, Stephen 3
4930426 2335916 2335916 defendant Curre Richard merchant 813977 813977 Curre, Richard, of Ilfardycombe, merchant 0
4930427 2335916 2335916 defendant Curre Joan     Joan, his wife 1
4930428 2335916 2335916 defendant Weryng John clerk 598348 598348 Weryng, John, of Belston, clerk 2
4930429 2335916 2335916 defendant Marleburgh David yeoman 771482 771482 Marleburgh, David, of Plympton Earls, yeoman 3

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