home / cp40x

names

5 rows where case_id = 2058614

✎ 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
4095221 2058614 2058614 plaintiff Glydd Thomas     Glydd, Thomas 0
4095222 2058614 2058614 defendant Ellys Thomas yeoman 596139 596139 Ellys, Thomas, of Burwasshe, yeoman 0
4095223 2058614 2058614 defendant Woodgate Edmund yeoman 586921 586921 Woodgate, Edmund, of Saleherst, yeoman 1
4095224 2058614 2058614 defendant Browne Richard laborer 661992 661992 Browne, Richard, of Mountfeld, laborer 2
4095225 2058614 2058614 defendant Whyte Isaac laborer 587174 587174 Whyte, Isaac, of Bryghtlyng, laborer 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 15.545ms