home / cp40x

names

7 rows where case_id = 2023654

✎ 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
3996885 2023654 2023654 plaintiff Doughtie Thomas   586286 586286 Doughtie, Thomas, of Boston gent 0
3996886 2023654 2023654 defendant Bolney John esq 619491 619491 Bolney, John, of Bolney, Sussex, esq 0
3996887 2023654 2023654 defendant Chapman Richard yeoman 597349 597349 Chapman, Richard, of Stykney, yeoman 1
3996888 2023654 2023654 defendant Brygg Anthony mercer 597349 597349 Brygg, Anthony, of Stykney, mercer 2
3996889 2023654 2023654 defendant Warde Thomas yeoman 670398 670398 Warde, Thomas, of Deping, yeoman 3
3996890 2023654 2023654 defendant Bregg Thomas butcher 670399 670399 Bregg, Thomas, of Otterby, butcher 4
3996891 2023654 2023654 defendant Cok Leonard husbandman 670400 670400 Cok, Leonard, of Spalding, husbandman 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 13.337ms