home / cp40x

names

7 rows where case_id = 2415370

✎ 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
5198679 2415370 2415370 plaintiff Uffenham John     Uffenham, John 0
5198680 2415370 2415370 defendant Smyth Roger smith 589367 589367 Smyth, Roger, of Wylton, smith 0
5198681 2415370 2415370 defendant Bovy Nicholas brewer 830976 830976 Bovy, Nicholas, of Maiden Bradley, brewer 1
5198682 2415370 2415370 defendant Shevyn John hosteller 586859 586859 Shevyn, John, of Salisbury, hosteller 2
5198683 2415370 2415370 defendant Byngeley George weaver 793177 793177 Byngeley, George, of Warminister, weaver 3
5198684 2415370 2415370 defendant Hethernand John   852088 852088 Hethernand, John, of Wilton by Salisbury, glove maker 4
5198685 2415370 2415370 defendant Daniell John   858629 858629 Daniell, John, of Fyssherton Ancher, galyche 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.848ms