home / cp40x

names

8 rows where case_id = 1904508

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3630972 1904508 1904508 plaintiff Freseby Thomas sherman 587948 587948 Freseby, Thomas, of Newerk, sherman 0
3630973 1904508 1904508 plaintiff Clerke Thomas mercer 587948 587948 Clerke, Thomas, of Newerk, mercer 1
3630974 1904508 1904508 plaintiff Thomson Nicholas   587948 587948 Thomson, Nicholas, of Newerk, wax chandler 2
3630975 1904508 1904508 defendant Thorpe John gent 588397 588397 Thorpe, John, of Thorpe, gent 0
3630976 1904508 1904508 defendant Smalley John husbandman 598063 598063 Smalley, John, of Aslokton, husbandman 1
3630977 1904508 1904508 defendant Shemeld John (legal representative) 598063 598063 Shemeld, John, of Aslokton, husbandman, executors of 2
3630978 1904508 1904508 defendant Shemeld William husbandman 598063 598063 (Shemeld, William, of Aslokton, husbandman 3
3630979 1904508 1904508 defendant Crawforth Thomas husbandman 598063 598063 Crawforth, Thomas, of Aslokton, husbandman 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 15.178ms