home / cp40x

names

7 rows where case_id = 2517275

✎ 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
5540883 2517275 2517275 plaintiff Howard Thomas Earl of Surrey   Howard, Thomas, Earl of Surrey 0
5540884 2517275 2517275 plaintiff Berkeley Maurice     Berkeley, Maurice 1
5540885 2517275 2517275 defendant Wodell Thomas shoemaker 587981 587981 Wodell, Thomas, of Tetbury, shoemaker 0
5540886 2517275 2517275 defendant Hethfeld Leonard weaver 587981 587981 Hethfeld, Leonard, of Tetbury, weaver 1
5540887 2517275 2517275 defendant Pytman John laborer 622008 622008 Pytman, John, of Cheryngdon, laborer 2
5540888 2517275 2517275 defendant Sprotte William weaver 587981 587981 Sprotte, William, of Tetbury, weaver 3
5540889 2517275 2517275 defendant Hoper Thomas weaver 587981 587981 Hoper, Thomas, of Tetbury, weaver 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 19.314ms