home / cp40x

names

7 rows where case_id = 2386950

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5101807 2386950 2386950 plaintiff Baron Thomas     Baron, Thomas 0
5101808 2386950 2386950 defendant Newenton Thomas husbandman 810185 810185 Newenton, Thomas, of Crikkelade, Wilts, husbandman 0
5101809 2386950 2386950 defendant Newenton Richard skinner 846531 846531 Newenton, Richard, of Crikkelade, skinner 1
5101810 2386950 2386950 defendant Newenton John   846532 846532 Newenton, John, of Crikkelade, willward 2
5101811 2386950 2386950 defendant Teyntour John weaver 846531 846531 Teyntour, John, of Crikkelade, weaver 3
5101812 2386950 2386950 defendant Wexman Richard   846531 846531 Wexman, Richard, of Crikkelade, wax chandler 4
5101813 2386950 2386950 defendant Hamstall John laborer 843831 843831 Hamstall, John, of Pulton, Wilts, laborer 5

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.755ms