home / cp40x

names

8 rows where case_id = 1953342

✎ 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
3785780 1953342 1953342 plaintiff Owen David knight   Owen, David, knight 0
3785781 1953342 1953342 defendant Gobyll Henry butcher 617967 617967 Gobyll, Henry, of Mydherst, butcher 0
3785782 1953342 1953342 defendant Flecchyng William barber 617967 617967 Flecchyng, William, of Mydherst, barber 1
3785783 1953342 1953342 defendant Kempe Thomas tailor 617967 617967 Kempe, Thomas, of Mydherst, tailor 2
3785784 1953342 1953342 defendant Ball John fuller 617967 617967 Ball, John, of Mydherst, fuller 3
3785785 1953342 1953342 defendant Bakemley Thomas husbandman 617967 617967 Bakemley, Thomas, of Mydherst, husbandman 4
3785786 1953342 1953342 defendant Morgan Richard yeoman 629007 629007 Morgan, Richard, of Stepham, yeoman 5
3785787 1953342 1953342 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 19.621ms