home / cp40x

names

5 rows where case_id = 1907349

✎ 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
3640098 1907349 1907349 plaintiff Wynston Thomas     Wynston, Thomas 0
3640099 1907349 1907349 defendant Tewe John husbandman 600182 600182 Tewe, John, of Dorston, husbandman 0
3640100 1907349 1907349 defendant Wodesall John yeoman 600183 600183 Wodesall, John, of St Johns, Bedwardyn, Worcs, yeoman 1
3640101 1907349 1907349 defendant Bocher John butcher 600184 600184 Bocher, John, of Presthend, March of Wales, butcher 2
3640102 1907349 1907349 defendant Frette Thomas husbandman 598071 598071 Frette, Thomas, of Monyngton on Weye, husbandman 3

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