home / cp40x

names

8 rows where case_id = 1947027

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3765974 1947027 1947027 plaintiff Lovell Thomas knight   Lovell, Thomas, knight, executors of 0
3765975 1947027 1947027 plaintiff Broke Richard knight, Chief Baron of Exchequer   (Broke, Richard, knight, Chief Baron of Exchequer 1
3765976 1947027 1947027 plaintiff Paston William knight   Paston, William, knight 2
3765977 1947027 1947027 plaintiff Lovell Francis esq   Lovell, Francis, esq 3
3765978 1947027 1947027 plaintiff Carleton John     Carleton, John 4
3765979 1947027 1947027 defendant Nevell John   625737 625737 Nevell, John, of Chevyott, Yorks, knight 0
3765980 1947027 1947027 defendant Nevyll Edmund gent 625738 625738 Nevyll, Edmund, of Kellyngton, Yorks, gent 1
3765981 1947027 1947027 defendant Rigmaydon John esq 610719 610719 Rigmaydon, John, of Garstang, Lancs, esq 2

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