home / cp40x

names

7 rows where case_id = 2274978

✎ 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
4731258 2274978 2274978 plaintiff More Robert     More, Robert 0
4731259 2274978 2274978 defendant Caymon John merchant 595267 595267 Caymon, John, of Melcombe Regis, merchant 0
4731260 2274978 2274978 defendant Deghere John husbandman 585975 585975 Deghere, John, of Shaftesbury, husbandman 1
4731261 2274978 2274978 defendant Pyn William merchant 595267 595267 Pyn, William, of Melcombe Regis, merchant 2
4731262 2274978 2274978 defendant Sprot Walter husbandman 792727 792727 Sprot, Walter, of Cantewey, husbandman 3
4731263 2274978 2274978 defendant Trent John husbandman 775537 775537 Trent, John, of Dountyssh, husbandman 4
4731264 2274978 2274978 defendant Abbot Robert merchant 595267 595267 Abbot, Robert, of Melcombe Regis, merchant 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 15.018ms