home / cp40x

names

6 rows where case_id = 2443309

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5294306 2443309 2443309 plaintiff Stokton John alderman 585869 585869 Stokton, John, of London, alderman 0
5294307 2443309 2443309 defendant Booges William chapman 627089 627089 Booges, William, of Teukesbury, Glos, chapman 0
5294308 2443309 2443309 defendant Gray Robert chapman 585871 585871 Gray, Robert, of Taunton, Soms, chapman 1
5294309 2443309 2443309 defendant Clerk Nicholas chapman 615590 615590 Clerk, Nicholas, of Worsted, Norf, chapman 2
5294310 2443309 2443309 defendant Elmus or Glums Thomas chapman 627192 627192 Elmus or Glums, Thomas, of Alcetour, Warks, chapman 3
5294311 2443309 2443309 defendant Wody John husbandman 622161 622161 Wody, John, of West Grensted, Sussex, 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 16.048ms