home / cp40x

names

7 rows where case_id = 2255390

✎ 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
4666940 2255390 2255390 plaintiff Alforth John chaplain   Alforth, John, chaplain 0
4666941 2255390 2255390 defendant Hubard John husbandman 780217 780217 Hubard, John, of Alberkirk, husbandman 0
4666942 2255390 2255390 defendant Pantre Richard husbandman 755595 755595 Pantre, Richard, of Algerkirk, husbandman 1
4666943 2255390 2255390 defendant Bette John tailor 755595 755595 Bette, John, of Algerkirk, tailor 2
4666944 2255390 2255390 defendant Dunworth John chaplain 596437 596437 Dunworth, John, of Soterton, chaplain 3
4666945 2255390 2255390 defendant Hungate John carpenter 755595 755595 Hungate, John, of Algerkirk, carpenter 4
4666946 2255390 2255390 defendant Milner Andrew weaver 755595 755595 Milner, Andrew, of Algerkirk, weaver 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 14.984ms