home / cp40x

names

13 rows where case_id = 2010893

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3960831 2010893 2010893 plaintiff Tempest John knight   Tempest, John, knight 0
3960832 2010893 2010893 defendant Hopkynson John husbandman 587259 587259 Hopkynson, John, of Thornton, husbandman 0
3960833 2010893 2010893 defendant Michell Thomas husbandman 587259 587259 Michell, Thomas, of Thornton, husbandman 1
3960834 2010893 2010893 defendant Michell John husbandman 587259 587259 Michell, John, of Thornton, husbandman 2
3960835 2010893 2010893 defendant Barslowe William husbandman 587259 587259 Barslowe, William, of Thornton, husbandman 3
3960836 2010893 2010893 defendant Jewett William husbandman 587259 587259 Jewett, William, of Thornton, husbandman 4
3960837 2010893 2010893 defendant Wright Richard husbandman 587259 587259 Wright, Richard, of Thornton, husbandman 5
3960838 2010893 2010893 defendant Brokesbank Edward husbandman 587259 587259 Brokesbank, Edward, of Thornton, husbandman 6
3960839 2010893 2010893 defendant Browne Robert husbandman 587259 587259 Browne, Robert,of Thornton, husbandman 7
3960840 2010893 2010893 defendant Awmeler Thomas husbandman 587259 587259 Awmeler, Thomas, of Thornton, husbandman 8
3960841 2010893 2010893 defendant Pyhell William husbandman 587259 587259 Pyhell, William, of Thornton, husbandman 9
3960842 2010893 2010893 defendant Shorte James husbandman 587259 587259 Shorte, James, of Thornton, husbandman 10
3960843 2010893 2010893 defendant Fletcher John husbandman 587259 587259 Fletcher, John, of Thornton, husbandman 11

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.536ms