home / cp40x

names

5 rows where place_id = 683381

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4053683 2043693 2043693 defendant Lofthowse John   683381 683381 Lofthowse, John, of Bramhoppe, wheelwright 0
4058237 2045329 2045329 defendant Lofthouse John   683381 683381 Lofthouse, John, of Bramhoppe, wheelwright 0
4070605 2049781 2049781 defendant Lofthowse John   683381 683381 Lofthowse, John, of Bramhoppe, wheelwright 0
4177056 2087448 2087448 defendant Burton John yeoman 683381 683381 Burton, John, of Bramhoppe, yeoman 3
4184520 2090094 2090094 defendant Dyneley henry gent 683381 683381 Dyneley, henry, of Bramhoppe, gent 2

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 15.509ms