home / cp40x

names

6 rows where case_id = 2412486

✎ 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
5188887 2412486 2412486 plaintiff Jakson William     Jakson, William 0
5188888 2412486 2412486 defendant Pykworth Roland husbandman 593442 593442 Pykworth, Roland, of Uffyngton, husbandman 0
5188889 2412486 2412486 defendant atte Well Nicholas of Uffyngton husbandman   atte Well, Nicholas of Uffyngton, husbandman 1
5188890 2412486 2412486 defendant Andrewe Robert husbandman 668750 668750 Andrewe, Robert, of Langtofte, husbandman 2
5188891 2412486 2412486 defendant Peynter William husbandman 599223 599223 Peynter, William, of Talyngton, husbandman 3
5188892 2412486 2412486 defendant Bocher William husbandman 597050 597050 Bocher, William, of Gretford, 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 12.795ms