home / cp40x

names

6 rows where case_id = 1938000

✎ 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
3737661 1938000 1938000 plaintiff Lowys Thomas yeoman 620794 620794 Lowys, Thomas, of Thyrnby, yeoman 0
3737662 1938000 1938000 defendant Morland Thomas   620795 620795 Morland, Thomas, of Rosgill, serving man 0
3737663 1938000 1938000 defendant Coferwhat John   620795 620795 Coferwhat, John, of Rosgill, serving man 1
3737664 1938000 1938000 defendant Smyth John husbandman 620795 620795 Smyth, John, of Rosgill, husbandman 2
3737665 1938000 1938000 defendant Bethom Thomas   620795 620795 Bethom, Thomas, of Rosgill, serving man 3
3737666 1938000 1938000 defendant Sharprow Henry   620795 620795 Sharprow, Henry, of Rosgill, serving man 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 17.673ms