home / cp40x

names

8 rows where case_id = 2298298

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4806674 2298298 2298298 plaintiff Chapman John waxmaker   Chapman, John, waxmaker, on his own account 0
4806675 2298298 2298298 defendant Hichecok John carpenter 604452 604452 Hichecok, John, of Devizes, Wilts, carpenter 0
4806676 2298298 2298298 defendant Bentham John draper 780266 780266 Bentham, John, of Gloucester, Gloucs, draper 1
4806677 2298298 2298298 defendant Smyth John troweman 780768 780768 Smyth, John, of Worcester, Worcs, troweman 2
4806678 2298298 2298298 defendant Belter John husbandman 805021 805021 Belter, John, of Wotton Underegge, Gloucs, husbandman 3
4806679 2298298 2298298 defendant Wade William (legal representative)   Wade, William, executors of 4
4806680 2298298 2298298 defendant Cappe Reginald of Tewkesbury Gloucs, shoemaker   (Cappe, Reginald of Tewkesbury, Gloucs, shoemaker 5
4806681 2298298 2298298 defendant Cappe Clarissa     Clarissa, his wife 6

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.69ms