home / cp40x

names

7 rows where case_id = 1907099

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3639284 1907099 1907099 plaintiff Warylton John (legal representative) 589453 589453 Warylton, John, of Abyngdon, draper, executors of 0
3639285 1907099 1907099 plaintiff Martyn Richard     (Martyn, Richard 1
3639286 1907099 1907099 defendant Spore John chaplain 590969 590969 Spore, John, of Ascheton, chaplain 0
3639287 1907099 1907099 defendant Bocher John butcher 585970 585970 Bocher, John, of Oxford, butcher 1
3639288 1907099 1907099 defendant Wolrigge John smith 600004 600004 Wolrigge, John, of Brightwell, Oxon, smith 2
3639289 1907099 1907099 defendant Snelle John collier 600005 600005 Snelle, John, of Stretely, collier 3
3639290 1907099 1907099 defendant Smyth Thomas husbandman 600006 600006 Smyth, Thomas, of Waterstoke, Oxon, 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 11.616ms