home / cp40x

names

8 rows where case_id = 2356667

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4999307 2356667 2356667 plaintiff Large John chaplain   Large, John, chaplain, executors of 0
4999308 2356667 2356667 plaintiff Thornerton Nicholas     (Thornerton, Nicholas 1
4999309 2356667 2356667 plaintiff Large Robert     Large, Robert 2
4999310 2356667 2356667 defendant Belewes Joan widow 605602 605602 Belewes, Joan, of Blyth, widow 0
4999311 2356667 2356667 defendant Upton John husbandman 832959 832959 Upton, John, of Lounde by Sutton, husbandman 1
4999312 2356667 2356667 defendant Scryvener Richard   794706 794706 Scryvener, Richard, of Sutton by Lounde, vicar 2
4999313 2356667 2356667 defendant Bocher John butcher 597343 597343 Bocher, John, of Retford, butcher 3
4999314 2356667 2356667 defendant Miller John husbandman 765292 765292 Miller, John, of Bakworth, 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.456ms