home / cp40x

names

7 rows where case_id = 1968938

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3835160 1968938 1968938 plaintiff Payn William     Payn, William 0
3835161 1968938 1968938 defendant Leveden William husbandman 637219 637219 Leveden, William, of Chepyng Lamborne, Berks, husbandman 0
3835162 1968938 1968938 defendant Peyrsone John (legal representative) 637221 637221 Peyrsone, John, of Chepyng Lamborne, husbandman, executors of 1
3835163 1968938 1968938 defendant Payne Thomas husbandman 637221 637221 (Payne, Thomas, of Chepyng Lamborne, husbandman 2
3835164 1968938 1968938 defendant Peyrson John husbandman 637222 637222 Peyrson, John, of Isbury, Chepyng Lamborne, husbandman 3
3835165 1968938 1968938 defendant Anderton John (legal representative) 637221 637221 Anderton, John, of Chepyng Lamborne, husbandman, executrix of 4
3835166 1968938 1968938 defendant Anderton Margaret widow 637221 637221 Anderton, Margaret, of Chepyng Lamborne, widow 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 14.268ms