home / cp40x

names

6 rows where case_id = 1937853

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3737150 1937853 1937853 plaintiff Lapworth Edward husbandman 620702 620702 Lapworth, Edward, of Ethorp, husbandman 0
3737151 1937853 1937853 plaintiff Lapworth Thomas husbandman 620702 620702 Lapworth, Thomas, of Ethorp, husbandman 1
3737152 1937853 1937853 defendant Atkyns Nicholas husbandman 614451 614451 Atkyns, Nicholas, of Nethercote, husbandman 0
3737153 1937853 1937853 defendant Dalton John husbandman 620703 620703 Dalton, John, of Nether Hukborowe, husbandman 1
3737154 1937853 1937853 defendant Pake Henry husbandman 620704 620704 Pake, Henry, of Thorlaston, husbandman 2
3737155 1937853 1937853 defendant Atkyns Thomas husbandman 589133 589133 Atkyns, Thomas, of Marton, husbandman 3

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.474ms