home / cp40x

names

7 rows where case_id = 2344004

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4956833 2344004 2344004 plaintiff Walker John     Walker, John 0
4956834 2344004 2344004 defendant Tatersall John, junior husbandman 640648 640648 Tatersall, John, junior, of Brumley, Kent, husbandman 0
4956835 2344004 2344004 defendant Croke Roger husbandman 817571 817571 Croke, Roger, of Brumley, husbandman 1
4956836 2344004 2344004 defendant Ingham Henry husbandman 817571 817571 Ingham, Henry, of Brumley, husbandman 2
4956837 2344004 2344004 defendant Tatersall Ralph husbandman 817571 817571 Tatersall, Ralph, of Brumley, husbandman 3
4956838 2344004 2344004 defendant Tatersall Richard husbandman 817571 817571 Tatersall, Richard, of Brumley, husbandman 4
4956839 2344004 2344004 defendant Tatersall William yeoman 817571 817571 Tatersall, William, of Brumley, yeoman 5

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