home / cp40x

names

6 rows where case_id = 2302377

✎ 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
4820153 2302377 2302377 plaintiff Purley William     Purley, William 0
4820154 2302377 2302377 defendant Chaunseler Thomas tailor 588489 588489 Chaunseler, Thomas, of Melton, tailor 0
4820155 2302377 2302377 defendant Thornton Thomas husbandman 807403 807403 Thornton, Thomas, of Mercote, Rutl, husbandman 1
4820156 2302377 2302377 defendant Hancharde John yeoman 627306 627306 Hancharde, John, of Sewestern, yeoman 2
4820157 2302377 2302377 defendant Howese William yeoman 807404 807404 Howese, William, of Wymmundham, yeoman 3
4820158 2302377 2302377 defendant Keller William husbandman 600260 600260 Keller, William, of Eyton, 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 14.583ms