home / cp40x

names

6 rows where case_id = 2442694

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5292115 2442694 2442694 plaintiff Ree Roger knight, sheriff of Essex   Ree, Roger, knight, sheriff of Essex 0
5292116 2442694 2442694 defendant Ball William carpenter 756027 756027 Ball, William, of Retyndon, carpenter 0
5292117 2442694 2442694 defendant Fouler John   869417 869417 Fouler, John, of Norton, talor 1
5292118 2442694 2442694 defendant Fouler William tailor 597874 597874 Fouler, William, of Stowe, tailor 2
5292119 2442694 2442694 defendant Combland John yeoman 589617 589617 Combland, John, of Dounham, yeoman 3
5292120 2442694 2442694 defendant Croxton William yeoman 869418 869418 Croxton, William, of Rammesdoubelhous, yeoman 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.755ms