home / cp40x

names

7 rows where case_id = 2338223

✎ 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
4937862 2338223 2338223 plaintiff Cambrigg Thomas prior of Eye Priory   Cambrigg, Thomas, prior of Eye Priory 0
4937863 2338223 2338223 defendant Broun Thomas husbandman 596428 596428 Broun, Thomas, of Magna Thornham, husbandman 0
4937864 2338223 2338223 defendant Broun John husbandman 596428 596428 Broun, John, of Magna Thornham, husbandman 1
4937865 2338223 2338223 defendant Broun William husbandman 596428 596428 Broun, William, of Magna Thornham, husbandman 2
4937866 2338223 2338223 defendant Broun Robert husbandman 596428 596428 Broun, Robert, of Magna Thornham, husbandman 3
4937867 2338223 2338223 defendant Broun Nicholas husbandman 596428 596428 Broun, Nicholas, of Magna Thornham, husbandman 4
4937868 2338223 2338223 defendant Blyaunt Simpn gent 824741 824741 together with Blyaunt, Simpn, of Ryngdell, gent 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 15.228ms