home / cp40x

names

8 rows where case_id = 1903342

✎ 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
3627117 1903342 1903342 plaintiff Besellys William esq   Besellys, William, esq 0
3627118 1903342 1903342 defendant Geofferey William yeoman 597053 597053 Geofferey, William, of Chepyng Faryndon, yeoman 0
3627119 1903342 1903342 defendant Ballesley Thomas chapman 597053 597053 Ballesley, Thomas, of Chepyng Faryndon, chapman 1
3627120 1903342 1903342 defendant Longford George husbandman 597053 597053 Longford, George, of Chepyng Faryndon, husbandman 2
3627121 1903342 1903342 defendant Davy John yeoman 597053 597053 Davy, John, of Chepyng Faryndon, yeoman 3
3627122 1903342 1903342 defendant Molyner Richard shoemaker 597053 597053 Molyner, Richard, of Chepyng Faryndon, shoemaker 4
3627123 1903342 1903342 defendant Dymmyng John   597053 597053 Dymmyng, John, of Chepyng Faryndon, wool winder 5
3627124 1903342 1903342 defendant Foxe Thomas hosteler 597053 597053 Foxe, Thomas, of Chepyng Faryndon, hosteler 6

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.292ms