home / cp40x

names

6 rows where case_id = 1919087

✎ 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
3677739 1919087 1919087 plaintiff Magnus Thomas rector of Bardsey, master of Sepulcres Chapel   Magnus, Thomas, rector of Bardsey, master of Sepulcres Chapel 0
3677740 1919087 1919087 defendant Hoge Thomas yeoman 609274 609274 Hoge, Thomas, of Bardsey, yeoman 0
3677741 1919087 1919087 defendant Hertley John yeoman 609275 609275 Hertley, John, of Est Keiswik, yeoman 1
3677742 1919087 1919087 defendant Boswell John husbandman 598840 598840 Boswell, John, of Clifford, husbandman 2
3677743 1919087 1919087 defendant Denton Robert chaplain 592299 592299 Denton, Robert, of Doncaster, chaplain 3
3677744 1919087 1919087 defendant Denton John yeoman 609276 609276 Denton, John, of Hoton on the Hill, yeoman 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 12.989ms