home / cp40x

names

9 rows where case_id = 2375118

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5061776 2375118 2375118 plaintiff Halgh William (legal representative)   Halgh, William, administrator of 0
5061777 2375118 2375118 plaintiff Halgh Christopher     Halgh, Christopher 1
5061778 2375118 2375118 defendant Drake John husbandman 586361 586361 Drake, John, of Harleston, husbandman 0
5061779 2375118 2375118 defendant Arketyll Robert husbandman 652570 652570 Arketyll, Robert, of Collesworth, husbandman 1
5061780 2375118 2375118 defendant Dykons Thomas husbandman 841808 841808 Dykons, Thomas, of Wytho-, husbandman 2
5061781 2375118 2375118 defendant Parker John husbandman 769595 769595 Parker, John, of Louthorp, husbandman 3
5061782 2375118 2375118 defendant Lutte William husbandman 793855 793855 Lutte, William, of Northstoke, husbandman 4
5061783 2375118 2375118 defendant Smyth Thomas husbandman 590362 590362 Smyth, Thomas, of Eston, husbandman 5
5061784 2375118 2375118 defendant Clerk Robert husbandman 590362 590362 Clerk, Robert, of Eston, husbandman 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 6.154ms