home / cp40x

names

7 rows where case_id = 2502328

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5491457 2502328 2502328 plaintiff Byrd William (legal representative)   Byrd, William, executors of 0
5491458 2502328 2502328 plaintiff Monk John     (Monk, John 1
5491459 2502328 2502328 defendant Vaghan Maurice tailor 585869 585869 Vaghan, Maurice, of London, tailor 0
5491460 2502328 2502328 defendant Ormeshed William weaver 708560 708560 Ormeshed, William, of Hygham Ferrers, Nhants, weaver 1
5491461 2502328 2502328 defendant Waryn William barber 586079 586079 Waryn, William, of Bedford, barber 2
5491462 2502328 2502328 defendant Audeley John smith 613626 613626 Audeley, John, of Kymbalton, Hunts, smith 3
5491463 2502328 2502328 defendant Cappe John   892882 892882 Cappe, John, of St Osyis, Essex, wax chandler 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 17.932ms