home / cp40x

names

6 rows where case_id = 2311481

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4850061 2311481 2311481 plaintiff Swalwell John clerk   Swalwell, John, clerk 0
4850062 2311481 2311481 defendant Weston John gent 764096 764096 Weston, John, of Carlton Curly, gent 0
4850063 2311481 2311481 defendant Brawenston William stringer 586435 586435 Brawenston, William, of Leicester, stringer 1
4850064 2311481 2311481 defendant Creton Richard husbandman 812467 812467 Creton, Richard, of East Haddon, Norht, husbandman 2
4850065 2311481 2311481 defendant Daubeney Richard laborer 586435 586435 Daubeney, Richard, of Leicester, laborer 3
4850066 2311481 2311481 defendant Loughborugh John   586435 586435 Loughborugh, John, of Leicester, spice seller 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 11.709ms