home / cp40x

names

6 rows where case_id = 2283189

✎ 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
4759076 2283189 2283189 plaintiff Champyon Thomas     Champyon, Thomas 0
4759077 2283189 2283189 defendant Appelby William husbandman 587423 587423 Appelby, William, of Benenden, husbandman 0
4759078 2283189 2283189 defendant Lynche Philip husbandman 797944 797944 Lynche, Philip, of Patricksbourne, husbandman 1
4759079 2283189 2283189 defendant Hood John husbandman 604253 604253 Hood, John, of Olde Romney, husbandman 2
4759080 2283189 2283189 defendant Hopton Thomas husbandman 593449 593449 Hopton, Thomas, of Alkham, husbandman 3
4759081 2283189 2283189 defendant Bryd Thomas husbandman 785916 785916 Bryd, Thomas, of Broklonde, 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 15.699ms