home / cp40x

names

6 rows where case_id = 2438655

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5278011 2438655 2438655 plaintiff Barker John     Barker, John 0
5278012 2438655 2438655 defendant Hatfeld James fishmonger 585869 585869 Hatfeld, James, of London, fishmonger 0
5278013 2438655 2438655 defendant Welton Thomas   587862 587862 Welton, Thomas, of Bodmyn, Cornw, tin merchant 1
5278014 2438655 2438655 defendant Warens Ralph gent 585869 585869 Warens, Ralph, of London, gent 2
5278015 2438655 2438655 defendant Umfraston Richard gent 585970 585970 Umfraston, Richard, of Oxford, gent 3
5278016 2438655 2438655 defendant Hille John yeoman 586958 586958 Hille, John, of Gloucester, 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 15.664ms