home / cp40x

names

7 rows where case_id = 1987374

✎ 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
3891349 1987374 1987374 plaintiff Lane John grocer 585869 585869 Lane, John, of London, grocer 0
3891350 1987374 1987374 defendant Draner Thomas gent 590079 590079 Draner, Thomas, of Cranebroke, Kent, gent 0
3891351 1987374 1987374 defendant Asshebornham Thomas gent 611673 611673 Asshebornham, Thomas, of Gestlyng, Sussex, gent 1
3891352 1987374 1987374 defendant Payne John yeoman 588068 588068 Payne, John, of Wye, Kent, yeoman 2
3891353 1987374 1987374 defendant Payne Thomas tailor 588316 588316 Payne, Thomas, of Wye, tailor 3
3891354 1987374 1987374 defendant Merden William (legal representative)   Merden, William, executrix of 4
3891355 1987374 1987374 defendant Merden Joan widow 595259 595259 Merden, Joan, of Benynden, Kent, widow 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.392ms