home / cp40x

names

6 rows where case_id = 1933187

✎ 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
3722138 1933187 1933187 plaintiff Marler Richard merchant or grocer 586117 586117 Marler, Richard, of Coventry, merchant or grocer 0
3722139 1933187 1933187 defendant Madeley John prior of Tutbury Priory, Staffs   Madeley, John, prior of Tutbury Priory, Staffs 0
3722140 1933187 1933187 defendant Nopton Thomas   586117 586117 Nopton, Thomas, of Coventry, buckle maker 1
3722141 1933187 1933187 defendant Elys William chapman 617970 617970 Elys, William, of Ratheram, Yorks, chapman 2
3722142 1933187 1933187 defendant Meres William mercer 586963 586963 Meres, William, of Grantham, Lincs, mercer 3
3722143 1933187 1933187 defendant Bretby William mercer 617971 617971 Bretby, William, of Sprawson, Leics, mercer 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 15.2ms