home / cp40x

names

7 rows where case_id = 2531032

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5587230 2531032 2531032 plaintiff Middelton Elizabeth (legal representative)   Middelton, Elizabeth, executrix of Otteley, George, administrator of 0
5587231 2531032 2531032 plaintiff Middelton Alvered     Middelton, Alvered 1
5587232 2531032 2531032 defendant Blount Thomas   903177 903177 Blount, Thomas, of Kylet, Salop, knight 0
5587233 2531032 2531032 defendant Pygot Robert esq 903178 903178 Pygot, Robert, of Pykethorn, Salop, esq 1
5587234 2531032 2531032 defendant Blount John, junior esq 591261 591261 Blount, John, junior, of Tamworth, Staffs, esq 2
5587235 2531032 2531032 defendant Hill John esq 628637 628637 Hill, John, of Hill, Salop, esq 3
5587236 2531032 2531032 defendant Pakyngton John gent 685244 685244 Pakyngton, John, of Nyne Savage, Salop, gent 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 8.504ms