home / cp40x

names

7 rows where case_id = 2439032

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5279251 2439032 2439032 plaintiff Bradbury Robert     Bradbury, Robert 0
5279252 2439032 2439032 defendant Marshall Robert yeoman 867963 867963 Marshall, Robert, of Estfeld, Notts, yeoman 0
5279253 2439032 2439032 defendant Sclater John yeoman 587919 587919 Sclater, John, of Edynstowe, yeoman 1
5279254 2439032 2439032 defendant Wodehous Ralph yeoman 659012 659012 Wodehous, Ralph, of Clypston, Notts, yeoman 2
5279255 2439032 2439032 defendant Scorer Ankir yeoman 867964 867964 Scorer, Ankir, of Dokemanton, yeoman 3
5279256 2439032 2439032 defendant Scorer Robert yeoman 594736 594736 Scorer, Robert, of Dukmanton, yeoman 4
5279257 2439032 2439032 defendant Scorer John yeoman 867965 867965 Scorer, John, of Hynkyngsell, yeoman 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 15.903ms