home / cp40x

names

7 rows where case_id = 2040844

✎ 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
4045500 2040844 2040844 plaintiff Saltford Thomas gent, attorney of the bench   Saltford, Thomas, gent, attorney of the bench 0
4045501 2040844 2040844 defendant Dannett Leonard esq 585869 585869 Dannett, Leonard, of London, or of Dannett Hall, Leics, esq 0
4045502 2040844 2040844 defendant Eton John husbandman 681558 681558 Eton, John, of Northby, Oxon, husbandman 1
4045503 2040844 2040844 defendant Calcote John yeoman 681558 681558 Calcote, John, of Northby, Oxon, yeoman 2
4045504 2040844 2040844 defendant Calcote Elizabeth widow 681559 681559 Calcote, Elizabeth, of Northby, widow 3
4045505 2040844 2040844 defendant Smythe John yeoman 681560 681560 Smythe, John, of Kenyngton, Berks, yeoman 4
4045506 2040844 2040844 defendant Chewe Thomas yeoman 619137 619137 Chewe, Thomas, of Frampton, Glos, yeoman 5

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 13.584ms