home / cp40x

names

6 rows where case_id = 1942274

✎ 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
3751110 1942274 1942274 plaintiff More Thomas knight   More, Thomas, knight 0
3751111 1942274 1942274 defendant Banke Richard gent 608032 608032 Banke, Richard, of Horneby, Lancs, gent 0
3751112 1942274 1942274 defendant Langton Thomas esq 623190 623190 Langton, Thomas, of Walton, Lancs, esq 1
3751113 1942274 1942274 defendant Curwen Richard esq 623191 623191 Curwen, Richard, of Taton, Lancs, esq 2
3751114 1942274 1942274 defendant Curwen Giles gent 623192 623192 Curwen, Giles, of Pulton, Lancs, gent 3
3751115 1942274 1942274 defendant Wynder Humphrey yeoman 623193 623193 Wynder, Humphrey, of Halton, Lands, yeoman 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 16.011ms