home / cp40x

names

6 rows where case_id = 2319055

✎ 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
4874779 2319055 2319055 plaintiff Reynold John     Reynold, John 0
4874780 2319055 2319055 defendant Kynge William husbandman 800792 800792 Kynge, William, of Letecombe Regis, husbandman 0
4874781 2319055 2319055 defendant Buntese John tailor 800792 800792 Buntese, John, of Letecombe Regis, tailor 1
4874782 2319055 2319055 defendant Edward Thomas husbandman 589423 589423 Edward, Thomas, of Sutton Courteney, husbandman 2
4874783 2319055 2319055 defendant Saunder William weaver 795241 795241 together with Saunder, William, of Est Chalowe, weaver 3
4874784 2319055 2319055 defendant Burymyll Roger weaver 589060 589060 Burymyll, Roger, of Wantynge, weaver 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 16.387ms