home / cp40x

names

6 rows where case_id = 2487529

✎ 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
5442004 2487529 2487529 plaintiff Baker William chaplain 887896 887896 Baker, William, of Dounersham, chaplain 0
5442005 2487529 2487529 defendant Vaughan Morgan clerk & vicar 887897 887897 Vaughan, Morgan, of Dounersham, Wilts, clerk & vicar 0
5442006 2487529 2487529 defendant Brode John   593796 593796 Brode, John, of Salisbury, Wilts, collar maker 1
5442007 2487529 2487529 defendant Huwys William yeoman 787493 787493 Huwys, William, of Aulton, Hants, yeoman 2
5442008 2487529 2487529 defendant Brugge John   887898 887898 Brugge, John, of Brynmorel, Wilts 3
5442009 2487529 2487529 defendant Uffenham Edith gent 586859 586859 Uffenham, Edith, of Salisbury, widow, formerly wife of John Lauerans, of Dounton, Wilts, gent 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 14.293ms