home / cp40x

names

6 rows where case_id = 2360598

✎ 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
5012871 2360598 2360598 plaintiff Aleyn Thomas   586848 586848 Aleyn, Thomas, of Northampton 0
5012872 2360598 2360598 defendant Bette Thomas panierman 782329 782329 Bette, Thomas, of Haverbergh, Leics, panierman 0
5012873 2360598 2360598 defendant Druwell Richard yeoman 835069 835069 Druwell, Richard, of Barton juxta Ekton, yeoman 1
5012874 2360598 2360598 defendant Stowe Richard husbandman 585978 585978 Stowe, Richard, of St Neots, Hunts, husbandman 2
5012875 2360598 2360598 defendant Spenser John yeoman 835070 835070 Spenser, John, of Forde, Beds, yeoman 3
5012876 2360598 2360598 defendant Spenser Thomas yeoman 594218 594218 Spenser, Thomas, of St Neots, 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 19.875ms