home / cp40x

names

7 rows where case_id = 2318265

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4872194 2318265 2318265 plaintiff Neweman Hugh clerk   Neweman, Hugh, clerk, executor of 0
4872195 2318265 2318265 plaintiff Salfe Richard     Salfe, Richard 1
4872196 2318265 2318265 defendant Stantor William gent 601508 601508 Stantor, William, of Fulston, gent 0
4872197 2318265 2318265 defendant Bonde John vicar of Somerton, Soms   Bonde, John, vicar of Somerton, Soms 1
4872198 2318265 2318265 defendant Frome John husbandman 588135 588135 Frome, John, of Somerton, husbandman 2
4872199 2318265 2318265 defendant Neweman Robert weaver 815539 815539 Neweman, Robert, of Quene Cannell, Soms, weaver 3
4872200 2318265 2318265 defendant Sprent John husbandman 815540 815540 Sprent, John, of Deveral Langbryge, husbandman 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 15.069ms