home / cp40x

names

10 rows where case_id = 2332161

✎ 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
4918047 2332161 2332161 plaintiff Gray Robert (legal representative) 586067 586067 Gray, Robert, of York, draper, executors of 0
4918048 2332161 2332161 plaintiff Gray Robert son of Testator   (Gray, Robert, son of Testator 1
4918049 2332161 2332161 plaintiff Blawefront William mercer   Blawefront, William, mercer 2
4918050 2332161 2332161 plaintiff Hertford Thomas     Hertford, Thomas 3
4918051 2332161 2332161 plaintiff Cotyngham John     Cotyngham, John 4
4918052 2332161 2332161 plaintiff Cotyngham Joan formerly wife of Testator   Joan, his wife, formerly wife of Testator 5
4918053 2332161 2332161 defendant Thorp Stephen esq 821829 821829 Thorp, Stephen, of Welwykthorp in Holdernes, Yorks, esq 0
4918054 2332161 2332161 defendant Maners John   821830 821830 Maners, John, of Etell, Northumbld, knight 1
4918055 2332161 2332161 defendant Stevenson John tanner 586067 586067 Stevenson, John, of York, tanner 2
4918056 2332161 2332161 defendant Laverok William yeoman 667804 667804 Laverok, William, of Hexham, Northumbld, yeoman 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 16.312ms