home / cp40x

names

8 rows where case_id = 1958579

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3802179 1958579 1958579 plaintiff Owen David knight   Owen, David, knight 0
3802180 1958579 1958579 defendant Gobyll Henry butcher 623296 623296 Gobyll, Henry, of Midherst, butcher 0
3802181 1958579 1958579 defendant Flecchyng William barber 623296 623296 Flecchyng, William, of Midherst, barber 1
3802182 1958579 1958579 defendant Kempe Thomas tailor 623296 623296 Kempe, Thomas, of Midherst, tailor 2
3802183 1958579 1958579 defendant Ball John fuller 623296 623296 Ball, John, of Midherst, fuller 3
3802184 1958579 1958579 defendant Bakemley Thomas husbandman 623296 623296 Bakemley, Thomas, of Midherst, husbandman 4
3802185 1958579 1958579 defendant Morgan Richard yeoman 631692 631692 Morgan, Richard, of Stapham, yeoman 5
3802186 1958579 1958579 defendant Foster John yeoman 629007 629007 Foster, John, of Stepham, yeoman 6

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