home / cp40x

names

6 rows where case_id = 2259816

✎ 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
4681452 2259816 2259816 plaintiff May John     May, John, on his own account 0
4681453 2259816 2259816 defendant Wheneld Thomas husbandman 600191 600191 Wheneld, Thomas, of Wysbeche, husbandman 0
4681454 2259816 2259816 defendant Ferrour Richard maltman 783305 783305 Ferrour, Richard, of Wytlysford, maltman 1
4681455 2259816 2259816 defendant Austyn Richard chaplain 595660 595660 Austyn, Richard, of Walpole, Norf, chaplain 2
4681456 2259816 2259816 defendant Wortheyn John husbandman 590659 590659 Wortheyn, John, of Leveryngton, husbandman 3
4681457 2259816 2259816 defendant Meyke John husbandman 783306 783306 Meyke, John, of Chaterys, Cambs, 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 16.041ms