home / cp40x

names

7 rows where case_id = 2393750

✎ 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
5124874 2393750 2393750 plaintiff Andrewe Richard     Andrewe, Richard 0
5124875 2393750 2393750 defendant Clerk John   849274 849274 Clerk, John, of Shaplod 0
5124876 2393750 2393750 defendant Bowes Isabel widow 586286 586286 Bowes, Isabel, of Boston, widow 1
5124877 2393750 2393750 defendant Overey John husbandman 621239 621239 Overey, John, of Skyrbek, husbandman 2
5124878 2393750 2393750 defendant Thekker Simon   587360 587360 Thekker, Simon, of Gedney, salt weller 3
5124879 2393750 2393750 defendant Out-- John, senior yeoman   Out--, John, senior, yeoman 4
5124880 2393750 2393750 defendant Brewer Thomas laborer 586039 586039 Brewer, Thomas, of Whaplod, laborer 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 13.722ms