home / cp40x

names

7 rows where case_id = 2421295

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5219027 2421295 2421295 plaintiff Hampton John esq   Hampton, John, esq 0
5219028 2421295 2421295 defendant Acton John esq 587039 587039 Acton, John, of Whityngton, esq 0
5219029 2421295 2421295 defendant Bokenhill John yeoman 587039 587039 Bokenhill, John, of Whityngton, yeoman 1
5219030 2421295 2421295 defendant Whitemere Nicholas yeoman 587039 587039 Whitemere, Nicholas, of Whityngton, yeoman 2
5219031 2421295 2421295 defendant Sparry John yeoman 860611 860611 Sparry, John, of Clent, Worcs, yeoman 3
5219032 2421295 2421295 defendant Alchirche Baldwin yeoman 590942 590942 Alchirche, Baldwin, of Swyndon, yeoman 4
5219033 2421295 2421295 defendant Whitemere John yeoman 587039 587039 Whitemere, John, of Whityngton, 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 12.772ms