home / cp40x

names

6 rows where case_id = 2318559

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4873168 2318559 2318559 plaintiff Payn Richard     Payn, Richard 0
4873169 2318559 2318559 defendant Wattes John tucker 593048 593048 Wattes, John, of Pensford, Soms, tucker 0
4873170 2318559 2318559 defendant Colles John clothmaker 630995 630995 Colles, John, of Pensford, clothmaker 1
4873171 2318559 2318559 defendant Sparkeford John husbandman 815650 815650 Sparkeford, John, of Sparkeford juxta Myssomerys Norton, Soms, husbandman 2
4873172 2318559 2318559 defendant Galiot Peter shoemaker 586859 586859 Galiot, Peter, of Salisbury, shoemaker 3
4873173 2318559 2318559 defendant Dode Richard weaver 589669 589669 Dode, Richard, of Bathe, Soms, weaver 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 19.179ms