home / cp40x

names

7 rows where case_id = 1864378

✎ 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
3589569 1864378 1864378 plaintiff Bylly Richard     Bylly, Richard 0
3589570 1864378 1864378 defendant Joce William husbandman 586767 586767 Joce, William, of Weston, Sowyland, husbandman 0
3589571 1864378 1864378 defendant Smyth John husbandman 586768 586768 Smyth, John, of Lyny, Weston, Sowyland, husbandman 1
3589572 1864378 1864378 defendant Hoke William husbandman 586767 586767 Hoke, William, of Weston, Sowyland, husbandman 2
3589573 1864378 1864378 defendant Thomkyns Thomas husbandman 586769 586769 Thomkyns, Thomas, of Milton Faukynbrigge, husbandman 3
3589574 1864378 1864378 defendant Peny Richard husbandman 586770 586770 Peny, Richard, of Middelsowy, husbandman 4
3589575 1864378 1864378 defendant Person William butcher 586770 586770 Person, William, of Middelsowy, butcher 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 16.392ms