home / cp40x

names

6 rows where case_id = 2388187

✎ 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
5105972 2388187 2388187 plaintiff Cosyn Thomas     Cosyn, Thomas 0
5105973 2388187 2388187 defendant Baxter Simon husbandman 590484 590484 Baxter, Simon, of Watton, husbandman 0
5105974 2388187 2388187 defendant Osmond John vicar of Rokelond Toftys   Osmond, John, vicar of Rokelond Toftys 1
5105975 2388187 2388187 defendant Sellyng Robert parson of Skulton   Sellyng, Robert, parson of Skulton 2
5105976 2388187 2388187 defendant Webster Richard husbandman 847024 847024 Webster, Richard, of Rokelond juxta Parva Elyngham, husbandman 3
5105977 2388187 2388187 defendant Gerard John husbandman 609975 609975 Gerard, John, of Parva Elyngham, 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.437ms