home / cp40x

names

6 rows where case_id = 1988335

✎ 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
3894370 1988335 1988335 plaintiff Rode Thomas esq 647087 647087 Rode, Thomas, of Odde Rode, esq 0
3894371 1988335 1988335 defendant Maysterson William yeoman 647088 647088 Maysterson, William, of Nantwich, Cheshire, yeoman 0
3894372 1988335 1988335 defendant Chetwode Roger gent 647089 647089 Chetwode, Roger, of Wordeston, Cheshire, gent 1
3894373 1988335 1988335 defendant Seckerston John, junior yeoman 647090 647090 Seckerston, John, junior, of Nantwich, yeoman 2
3894374 1988335 1988335 defendant Cartwright John yeoman 647091 647091 Cartwright, John, of Newhall, Cheshire, yeoman 3
3894375 1988335 1988335 defendant Sale John husbandman 610254 610254 Sale, John, of Newhall, husbandman 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.31ms