home / cp40x

names

6 rows where case_id = 2301280

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4816588 2301280 2301280 plaintiff Manston Ralph     Manston, Ralph, on his own account 0
4816589 2301280 2301280 defendant Loketon Henry husbandman 754947 754947 Loketon, Henry, of Yevele, husbandman 0
4816590 2301280 2301280 defendant Huckylbrygge John husbandman 772290 772290 Huckylbrygge, John, of Capelond, husbandman 1
4816591 2301280 2301280 defendant cary Richard   806797 806797 cary, Richard, of Bryggewater, scrivenor 2
4816592 2301280 2301280 defendant Clewer William weaver 585996 585996 Clewer, William, of Briggewater, weaver 3
4816593 2301280 2301280 defendant Glover Clement glover 806798 806798 Glover, Clement, of Hyneford by Yevele, glover 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 5.796ms