home / cp40x

names

5 rows where case_id = 2384340

✎ 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
5092990 2384340 2384340 plaintiff Plumpton William sheriff of Derbs   Plumpton, William, sheriff of Derbs 0
5092991 2384340 2384340 defendant Arnall Richard yeoman 614430 614430 Arnall, Richard, of Arnall, Notts, yeoman 0
5092992 2384340 2384340 defendant Lemyng John yeoman 772660 772660 Lemyng, John, of Bilborowe, Notts, yeoman 1
5092993 2384340 2384340 defendant Preston Hugh yeoman 732901 732901 Preston, Hugh, of Bilborowe, yeoman 2
5092994 2384340 2384340 defendant Brampton John yeoman 845487 845487 Brampton, John, of Baseford, Nots, 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.772ms