home / cp40x

names

9 rows where case_id = 1947361

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3767072 1947361 1947361 plaintiff More Thomas knight   More, Thomas, knight 0
3767073 1947361 1947361 defendant Butler Thomas esq 625907 625907 Butler, Thomas, of Bewsey, Lancs, esq 0
3767074 1947361 1947361 defendant Butler John abbot of Vale Royal Abbey   Butler, John, abbot of Vale Royal Abbey 1
3767075 1947361 1947361 defendant Tempest Richard   625908 625908 Tempest, Richard, of Brasewell, Yorks, knight 2
3767076 1947361 1947361 defendant Beynton Edward   609225 609225 Beynton, Edward, of Bromham, Wilts, knight 3
3767077 1947361 1947361 defendant Bold Richard   840920 840920 Bold, Richard, of Bold, Lancs, knight 4
3767078 1947361 1947361 defendant Southworth Thomas   625911 625911 Southworth, Thomas, of Samysbury, Lancs, knight 5
3767079 1947361 1947361 defendant Leylond William   625912 625912 Leylond, William, of Morley, Lancs, knight 6
3767080 1947361 1947361 defendant Aston Edward   625913 625913 Aston, Edward, of Heywood, Staffs, knight 7

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 6.625ms