home / cp40x

names

6 rows where case_id = 2320470

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4879347 2320470 2320470 plaintiff Tylbotes John   754348 754348 Tylbotes, John, of Welneford 0
4879348 2320470 2320470 defendant Bemond Thomas yeoman 816447 816447 Bemond, Thomas, of Magna Dorsyngton, Glos, yeoman 0
4879349 2320470 2320470 defendant Adcokke John   754348 754348 Adcokke, John, of Welneford, millward 1
4879350 2320470 2320470 defendant Whetston John yeoman 586546 586546 Whetston, John, of Stratford on Avon, Warks, yeoman 2
4879351 2320470 2320470 defendant Saloman John yeoman 816449 816449 Saloman, John, of Hudicote Bertram, Glos, yeoman 3
4879352 2320470 2320470 defendant Hoggys John yeoman 816450 816450 Hoggys, John, of Stretford Upfosse, Warks, 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 13.764ms