home / cp40x

names

6 rows where case_id = 2419264

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5212049 2419264 2419264 plaintiff Arundell John Bishop of Chichester   Arundell, John, Bishop of Chichester 0
5212050 2419264 2419264 defendant Jamys Thomas husbandman 859816 859816 Jamys, Thomas, of Westurgate, husbandman 0
5212051 2419264 2419264 defendant Wormewode Robert husbandman 859817 859817 Wormewode, Robert, of Sutertyng, husbandman 1
5212052 2419264 2419264 defendant Smyth Thomas yeoman 588084 588084 Smyth, Thomas, of Chichester, yeoman 2
5212053 2419264 2419264 defendant Betfelde James husbandman 589013 589013 Betfelde, James, of Bury, husbandman 3
5212054 2419264 2419264 defendant Brabeef William husbandman 615788 615788 Brabeef, William, of Fytelworth, husbandman 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 13.119ms