home / cp40x

names

7 rows where case_id = 2524968

✎ 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
5567129 2524968 2524968 plaintiff Dam Thomas (legal representative) 585869 585869 Dam, Thomas, of London, executrix of 0
5567130 2524968 2524968 plaintiff Dam Margaret     Dam, Margaret 1
5567131 2524968 2524968 defendant Hogan William husbandman 637011 637011 Hogan, William, of Roughton, Norf, husbandman 0
5567132 2524968 2524968 defendant Gryffyn Thomas husbandman 599191 599191 Gryffyn, Thomas, of Roughton, husbandman 1
5567133 2524968 2524968 defendant Inglond Geoffrey husbandman 599191 599191 Inglond, Geoffrey, of Roughton, husbandman 2
5567134 2524968 2524968 defendant Scottowe Geoffrey husbandman 599191 599191 Scottowe, Geoffrey, of Roughton, husbandman 3
5567135 2524968 2524968 defendant Gresham William gent 587167 587167 Gresham, William, of Parva Walsyngham, gent 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 14.214ms