home / cp40x

names

6 rows where case_id = 2530386

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5585017 2530386 2530386 plaintiff Hogan Simon (legal representative) 585869 585869 Hogan, Simon, of London, draper, executrix of 0
5585018 2530386 2530386 plaintiff Hogan Margaret widow   Hogan, Margaret, widow 1
5585019 2530386 2530386 defendant Morton Thomas gent 600915 600915 Morton, Thomas, of Whithorse, Surrey, gent 0
5585020 2530386 2530386 defendant Tuplyn John yeoman 599847 599847 Tuplyn, John, of Farnam, Surrey, yeoman 1
5585021 2530386 2530386 defendant Godman George gent 585869 585869 Godman, George, of London, gent 2
5585022 2530386 2530386 defendant Thomas William husbandman 902914 902914 Thomas, William, of Bagshote, Berks, husbandman 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.771ms