home / cp40x

names

10 rows where case_id = 1905433

✎ 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
3633970 1905433 1905433 plaintiff Lovell Thomas knight   Lovell, Thomas, knight 0
3633971 1905433 1905433 plaintiff Heron John esq   Heron, John, esq 1
3633972 1905433 1905433 defendant Willoughby Robert Lord Broke   Willoughby, Robert, Lord Broke 0
3633973 1905433 1905433 defendant Sandys William   597276 597276 Sandys, William, of Vyne, Hants, knight 1
3633974 1905433 1905433 defendant Lucy Thomas esq 598767 598767 Lucy, Thomas, of Charleton, Warks, esq 2
3633975 1905433 1905433 defendant Sole Edward mercer 585869 585869 Sole, Edward, of London, mercer 3
3633976 1905433 1905433 defendant Stokes John mercer 585869 585869 Stokes, John, of London, mercer 4
3633977 1905433 1905433 defendant Noon Henry esq 598768 598768 Noon, Henry, of Shelfangre, Norf, esq 5
3633978 1905433 1905433 defendant Willoughby Henry   671539 671539 Willoughby, Henry, of Wollaton, Notts, knight 6
3633979 1905433 1905433 defendant Chamberley Edward   592737 592737 Chamberley, Edward, of Wodstok, Oxon, 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 15.121ms