home / cp40x

names

7 rows where case_id = 2411950

✎ 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
5187077 2411950 2411950 plaintiff Hampden Thomas esq   Hampden, Thomas, esq 0
5187078 2411950 2411950 defendant Angewyn William husbandman 589724 589724 Angewyn, William, of Bledlowe, husbandman 0
5187079 2411950 2411950 defendant Broun Thomas husbandman 589724 589724 Broun, Thomas, of Bledlowe, husbandman 1
5187080 2411950 2411950 defendant Penle John husbandman 632100 632100 Penle, John, of Horsyngdon, husbandman 2
5187081 2411950 2411950 defendant Marchall John husbandman 632100 632100 Marchall, John, of Horsyngdon, husbandman 3
5187082 2411950 2411950 defendant White John   632100 632100 White, John, of Horsyngdon, glove maker 4
5187083 2411950 2411950 defendant Stafford John   632100 632100 Stafford, John, of Horsyngdon, glove maker 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 12.834ms