home / cp40x

names

7 rows where case_id = 1972483

✎ 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
3846566 1972483 1972483 plaintiff Grenehall Roger     Grenehall, Roger 0
3846567 1972483 1972483 defendant Cocke Robert husbandman 604645 604645 Cocke, Robert, of Tyddeswall, husbandman 0
3846568 1972483 1972483 defendant Johnson William husbandman 604645 604645 Johnson, William, of Tyddeswall, husbandman 1
3846569 1972483 1972483 defendant Bagshawe Thurstan husbandman 588053 588053 Bagshawe, Thurstan, of Wheston, husbandman 2
3846570 1972483 1972483 defendant Bradwall William husbandman 588053 588053 Bradwall, William, of Wheston, husbandman 3
3846571 1972483 1972483 defendant Bokkyng Thomas husbandman 639056 639056 Bokkyng, Thomas, of Abeney, husbandman 4
3846572 1972483 1972483 defendant Durrant Stephen gent 609329 609329 Durrant, Stephen, of Bonsall, gent 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.568ms