home / cp40x

names

8 rows where case_id = 2262592

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4690524 2262592 2262592 plaintiff White Warin     White, Warin 0
4690525 2262592 2262592 defendant Ingreth William husbandman 785130 785130 Ingreth, William, of Melrethe, husbandman 0
4690526 2262592 2262592 defendant Warde John husbandman 589505 589505 Warde, John, of Kyngeston, husbandman 1
4690527 2262592 2262592 defendant Hebbe John husbandman 598806 598806 Hebbe, John, of Bassyngbourne, husbandman 2
4690528 2262592 2262592 defendant Paton John, senior husbandman 598806 598806 Paton, John, senior, of Bassyngbourne, husbandman 3
4690529 2262592 2262592 defendant Welewys Richard husbandman 586935 586935 Welewys, Richard, of royston, husbandman 4
4690530 2262592 2262592 defendant Hendeman John husbandman 586935 586935 Hendeman, John, of Royston, husbandman 5
4690531 2262592 2262592 defendant Plesele William husbandman 594060 594060 Plesele, William, of Whaddon, husbandman 6

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