home / cp40x

names

7 rows where case_id = 2414398

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5195370 2414398 2414398 plaintiff Ryghtwyse William mercer 585869 585869 Ryghtwyse, William, of London, mercer 0
5195371 2414398 2414398 plaintiff Bysshp John gent 606482 606482 Bysshp, John, of Norfolk, gent 1
5195372 2414398 2414398 defendant Danyell Robert mercer 585869 585869 Danyell, Robert, of London, mercer 0
5195373 2414398 2414398 defendant Wood Richard yeoman 585869 585869 Wood, Richard, of London, yeoman 1
5195374 2414398 2414398 defendant Thomson William hosteller 585869 585869 Thomson, William, of London, hosteller 2
5195375 2414398 2414398 defendant Brom John gent of the King's Hospice 585869 585869 Brom, John, of London, gent of the King's Hospice 3
5195376 2414398 2414398 defendant Hodgys John yeoman 858270 858270 Hodgys, John, of Plympton Erll, Devon, 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 14.894ms