home / cp40x

names

8 rows where case_id = 2335072

✎ 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
4927605 2335072 2335072 plaintiff Salter John, senior     Salter, John, senior 0
4927606 2335072 2335072 defendant Spriggy John draper 606953 606953 Spriggy, John, of Northampton, Nhants, draper 0
4927607 2335072 2335072 defendant Vanne Henry fuller 600359 600359 Vanne, Henry, of Shirbourne, fuller 1
4927608 2335072 2335072 defendant Alampton John weaver 600360 600360 Alampton, John, of Shirbourn, weaver 2
4927609 2335072 2335072 defendant Waryn William merchant 593796 593796 Waryn, William, of Salisbury, Wilts, merchant 3
4927610 2335072 2335072 defendant Hunte John (legal representative)   Hunte, John, executors of 4
4927611 2335072 2335072 defendant Baron Henry merchant 586859 586859 (Baron, Henry, of Salisbury, merchant 5
4927612 2335072 2335072 defendant Baron Christine formerly wife of Testator   Christine, his wife, formerly wife of Testator 6

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