home / cp40x

names

7 rows where case_id = 2349699

✎ 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
4975716 2349699 2349699 plaintiff North Henry     North, Henry 0
4975717 2349699 2349699 defendant Breton Thomas husbandman 627698 627698 Breton, Thomas, of Wynfryth, husbandman 0
4975718 2349699 2349699 defendant Broun John husbandman 829527 829527 Broun, John, of Mernell, husbandman 1
4975719 2349699 2349699 defendant Gele John husbandman 829527 829527 Gele, John, of Mernell, husbandman 2
4975720 2349699 2349699 defendant Prout John husbandman 829527 829527 Prout, John, of Mernell, husbandman 3
4975721 2349699 2349699 defendant Taillour Robert tailor 829527 829527 Taillour, Robert, of Mernell, tailor 4
4975722 2349699 2349699 defendant Hodder John husbandman 691975 691975 together with Hodder, John, of Wydecombe, husbandman 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.183ms