home / cp40x

names

6 rows where case_id = 2301415

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4816987 2301415 2301415 plaintiff May John     May, John, on his own account 0
4816988 2301415 2301415 defendant Walter John yeoman 623163 623163 Walter, John, of Ivecherche, yeoman 0
4816989 2301415 2301415 defendant Godefrey James   806874 806874 Godefrey, James, of Burghwermerssh, yeoman, kinsman & heir of Thomas Godefrey, of East Bregge 1
4816990 2301415 2301415 defendant Clerk John parker 628945 628945 Clerk, John, of Brabourne, parker 2
4816991 2301415 2301415 defendant Grendon William painter 605560 605560 Grendon, William, of Asshe by Sandwich, painter 3
4816992 2301415 2301415 defendant Sone or Sove John clerk 593449 593449 Sone or Sove, John, of Alkham, clerk 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.377ms