home / cp40x

names

7 rows where case_id = 1957424

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3798469 1957424 1957424 plaintiff Hed John     Hed, John 0
3798470 1957424 1957424 defendant Gune Thomas carpenter 615769 615769 Gune, Thomas, of Pepleton, carpenter 0
3798471 1957424 1957424 defendant Payne Robert tailor 596804 596804 Payne, Robert, of Severnstoke, tailor 1
3798472 1957424 1957424 defendant Typper John husbandman 615769 615769 Typper, John, of Pepleton, husbandman 2
3798473 1957424 1957424 defendant Wyke John chapman 591688 591688 Wyke, John, of Parshore, chapman 3
3798474 1957424 1957424 defendant Cacher Walter husbandman 611406 611406 Cacher, Walter, of Bredon, husbandman 4
3798475 1957424 1957424 defendant Ebett Thomas butcher 586318 586318 Ebett, Thomas, of Worcester, butcher 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 16.045ms