home / cp40x

names

6 rows where case_id = 2301831

✎ 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
4818387 2301831 2301831 plaintiff Notkyn John     Notkyn, John, on his own account 0
4818388 2301831 2301831 defendant Brond William husbandman 807091 807091 Brond, William, of Froxton, husbandman 0
4818389 2301831 2301831 defendant Cartere Robert laborer 701239 701239 Cartere, Robert, of Shepereth, laborer 1
4818390 2301831 2301831 defendant Burlee Thomas carpenter 741631 741631 Burlee, Thomas, of Foulmere, carpenter 2
4818391 2301831 2301831 defendant Stote William husbandman 741631 741631 Stote, William, of Foulmere, husbandman 3
4818392 2301831 2301831 defendant Bandon Richard husbandman 613718 613718 Bandon, Richard, of Ansty, Herts, 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 7.36ms