home / cp40x

names

5 rows where case_id = 2480003

✎ 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
5417018 2480003 2480003 plaintiff None or Nove Richard clerk & chaplain 587151 587151 None or Nove, Richard, of Flete, clerk & chaplain 0
5417019 2480003 2480003 defendant Aleyn John gent 678434 678434 Aleyn, John, of Blakesley, Nhants, gent 0
5417020 2480003 2480003 defendant Noone Robert (legal representative) 885407 885407 Noone, Robert, of Blakysley, yeoman, executors of 1
5417021 2480003 2480003 defendant Terre John mercer 604323 604323 (Terre, John, of Bukyngham, Bucks, mercer 2
5417022 2480003 2480003 defendant Terre Joan formerly wife of Robert Noone   Joan, his wife, formerly wife of Robert Noone 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 17.494ms