home / cp40x

names

8 rows where case_id = 2410381

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5181671 2410381 2410381 plaintiff Canwell John prior of the house & church of St Giles, in   Canwell, John, prior of the house & church of St Giles, in 0
5181672 2410381 2410381 plaintiff Tytwell John another monk   Tytwell, John, another monk 1
5181673 2410381 2410381 defendant Walker Thomas walker 586028 586028 Walker, Thomas, of Tamworth, walker 0
5181674 2410381 2410381 defendant Spencer Henry baker 586028 586028 Spencer, Henry, of Tamworth, baker 1
5181675 2410381 2410381 defendant Couper Thomas cooper 586028 586028 Couper, Thomas, of Tamworth, cooper 2
5181676 2410381 2410381 defendant Marchall Alfred yeoman 586934 586934 Marchall, Alfred, of Stotfold, yeoman 3
5181677 2410381 2410381 defendant _oton Thomas, sen   856794 856794 _oton, Thomas, sen, of Tamwoth, Warws, gold beater 4
5181678 2410381 2410381 defendant Coton Thomas jun, of Tamworth, gold beater   Coton, Thomas, jun, of Tamworth, gold beater 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 12.765ms