home / cp40x

names

7 rows where case_id = 2302892

✎ 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
4821788 2302892 2302892 plaintiff Sampson Margaret (legal representative)   Sampson, Margaret, executors of 0
4821789 2302892 2302892 plaintiff Helwys Hugh     (Helwys, Hugh 1
4821790 2302892 2302892 plaintiff Chetyll John chaplain   Chetyll, John, chaplain 2
4821791 2302892 2302892 defendant Wyntryngton Richard husbandman 597387 597387 Wyntryngton, Richard, of Southwell, husbandman 0
4821792 2302892 2302892 defendant Freman Thomas smith 586539 586539 Freman, Thomas, of Suthwell, smith 1
4821793 2302892 2302892 defendant Newerk John ironmonger 587948 587948 Newerk, John, of Newerk, ironmonger 2
4821794 2302892 2302892 defendant Ketyll John husbandman 586539 586539 Ketyll, John, of Suthwell, husbandman 3

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 14.557ms