home / cp40x

names

6 rows where case_id = 1964145

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3820030 1964145 1964145 plaintiff Pende Stephen gent 594575 594575 Pende, Stephen, of Est Sutton, gent 0
3820031 1964145 1964145 defendant Sampson Henry gent 634614 634614 Sampson, Henry, of St Mary Bredon, Canterbury, gent 0
3820032 1964145 1964145 defendant Rede William yeoman 595776 595776 Rede, William, of Holyngbourne, yeoman 1
3820033 1964145 1964145 defendant Pavyer Walter summoner 594299 594299 Pavyer, Walter, of Stapulherst, summoner 2
3820034 1964145 1964145 defendant Joye John (legal representative) 630004 630004 Joye, John, of Mylton juxta Sythyngbourn, administrator of 3
3820035 1964145 1964145 defendant Joye John cooper 630004 630004 Joye, John, of Mylton juxta Sythyngbourn, cooper 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.206ms