home / cp40x

names

9 rows where case_id = 1906661

✎ 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
3637867 1906661 1906661 plaintiff Stanley James Bishop of Ely   Stanley, James, Bishop of Ely 0
3637868 1906661 1906661 defendant Lambe Thomas husbandman 591071 591071 Lambe, Thomas, of Hokwold, husbandman 0
3637869 1906661 1906661 defendant Hert William husbandman 589367 589367 Hert, William, of Wylton, husbandman 1
3637870 1906661 1906661 defendant Drynkemylke Thomas husbandman 591071 591071 Drynkemylke, Thomas, of Hokwold, husbandman 2
3637871 1906661 1906661 defendant Dykeman John husbandman 591071 591071 Dykeman, John, of Hokwold, husbandman 3
3637872 1906661 1906661 defendant Dykeman Mathew husbandman 591071 591071 Dykeman, Mathew, of Hokwold, husbandman 4
3637873 1906661 1906661 defendant Smyth Edmund husbandman 598468 598468 Smyth, Edmund, of Hokewold, husbandman 5
3637874 1906661 1906661 defendant Style John husbandman 591071 591071 Style, John, of Hokwold, husbandman 6
3637875 1906661 1906661 defendant Brese Thomas tailor 591071 591071 Brese, Thomas, of Hokwold, tailor 7

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 6.039ms