home / cp40x

names

6 rows where case_id = 1918508

✎ 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
3675925 1918508 1918508 plaintiff Hoper Robert draper 586748 586748 Hoper, Robert, of Welles, draper 0
3675926 1918508 1918508 defendant Robyns John tailor 586727 586727 Robyns, John, of Cory Ryvell, tailor 0
3675927 1918508 1918508 defendant Lucok Thomas chaplain 608886 608886 Lucok, Thomas, of Kynggeston, chaplain 1
3675928 1918508 1918508 defendant Grove William husbandman 608887 608887 Grove, William, of Middell Sowey, husbandman 2
3675929 1918508 1918508 defendant Loveryng Thomas husbandman 596230 596230 Loveryng, Thomas, of South Pederton, husbandman 3
3675930 1918508 1918508 defendant Payne John husbandman 586404 586404 Payne, John, of Melles, 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 14.77ms