home / cp40x

names

8 rows where case_id = 2469487

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5380542 2469487 2469487 plaintiff Burgh       Burgh, on his own account 0
5380543 2469487 2469487 defendant Waltham William   597802 597802 Waltham, William, of Tetteney 0
5380544 2469487 2469487 defendant Clayton Simon husbandman 880585 880585 Clayton, Simon, of Northoresby or North Thoresby, husbandman 1
5380545 2469487 2469487 defendant Lyson John husbandman   Lyson, John, husbandman 2
5380546 2469487 2469487 defendant Squyer John husbandman 588363 588363 Squyer, John, of Granesby, husbandman 3
5380547 2469487 2469487 defendant (illegible) of Granesby husbandman   _, of Granesby, husbandman 4
5380548 2469487 2469487 defendant Tharold John, senior husbandman 871073 871073 Tharold, John, senior, of Northoresby, husbandman 5
5380549 2469487 2469487 defendant Clerk William     Clerk, William, 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 13.924ms