home / cp40x

names

6 rows where case_id = 2028711

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4010999 2028711 2028711 plaintiff Pennyngton William grocer 585869 585869 Pennyngton, William, of London, grocer 0
4011000 2028711 2028711 defendant Woodward Thomas chapman or mercer 588011 588011 Woodward, Thomas, of Rosse, Herefs, chapman or mercer 0
4011001 2028711 2028711 defendant Raven Roger chapman 673708 673708 Raven, Roger, of Lond Melford, Suff, chapman 1
4011002 2028711 2028711 defendant Stayeb John yeoman 589150 589150 Stayeb, John, of Maldon, Essex, yeoman 2
4011003 2028711 2028711 defendant Garard John yeoman or smith 614844 614844 Garard, John, of Malden, yeoman or smith 3
4011004 2028711 2028711 defendant Bowrman Thomas chapman 636015 636015 Bowrman, Thomas, of Hynnyngham, Suff, chapman 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.413ms