home / cp40x

names

7 rows where case_id = 2281643

✎ 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
4754025 2281643 2281643 plaintiff (not given)   Abbess of Wilton   Wilton, Abbess of 0
4754026 2281643 2281643 defendant Brasefeld Thomas husbandman 797037 797037 Brasefeld, Thomas, of West Marton, husbandman 0
4754027 2281643 2281643 defendant Paynter Thomas husbandman 797037 797037 Paynter, Thomas, of West Marton, husbandman 1
4754028 2281643 2281643 defendant Childe Lawrence ostler 797037 797037 Childe, Lawrence, of West Marton, ostler 2
4754029 2281643 2281643 defendant Cotethorn William husbandman 797037 797037 Cotethorn, William, of West Marton, husbandman 3
4754030 2281643 2281643 defendant Thorne Roger, senior husbandman 648083 648083 Thorne, Roger, senior, of Brode Chalke, husbandman 4
4754031 2281643 2281643 defendant Thorn Roger, junior   648083 648083 Thorn, Roger, junior, of Brode Chalke, servant 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 13.801ms