home / cp40x

names

8 rows where case_id = 2371481

✎ 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
5049494 2371481 2371481 plaintiff Spufford Thomas   586208 586208 Spufford, Thomas, of Hereford 0
5049495 2371481 2371481 defendant Payne William husbandman 600413 600413 Payne, William, of Walford, husbandman 0
5049496 2371481 2371481 defendant Lyfe Roger husbandman 840100 840100 Lyfe, Roger, of Over Shelwyke, husbandman 1
5049497 2371481 2371481 defendant Brande Richard husbandman 840101 840101 Brande, Richard, of Bishop's Frome, husbandman 2
5049498 2371481 2371481 defendant Bruge Thomas husbandman 586208 586208 Bruge, Thomas, of Hereford, husbandman 3
5049499 2371481 2371481 defendant Jay Richard butcher 586208 586208 Jay, Richard, of Hereford, butcher 4
5049500 2371481 2371481 defendant Nasthe Thomas husbandman 840102 840102 Nasthe, Thomas, of Cotynton, husbandman 5
5049501 2371481 2371481 defendant Hoper       Hoper, 6

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