home / cp40x

names

6 rows where case_id = 2407311

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5171238 2407311 2407311 plaintiff Lacy Edmund (legal representative) 604539 604539 Lacy, Edmund, of Exeter, bishop, executor of 0
5171239 2407311 2407311 plaintiff Webber Henry   586036 586036 Webber, Henry, of Exeter, dean of the cathedral church of St Peter, and precentor 1
5171240 2407311 2407311 defendant Barell John yeoman 853888 853888 Barell, John, of Penryn Burgh, Cornwall, yeoman 0
5171241 2407311 2407311 defendant Langdon Ambrose yeoman 642332 642332 Langdon, Ambrose, of Ayssheberton, Devon, yeoman 1
5171242 2407311 2407311 defendant Mayer John yeoman 855802 855802 Mayer, John, of Clyst Bishop, Devon, yeoman 2
5171243 2407311 2407311 defendant Catell Robert yeoman 855803 855803 Catell, Robert, of Tregere, Cornwall, yeoman 3

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