home / cp40x

names

6 rows where case_id = 2456646

✎ 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
5338605 2456646 2456646 plaintiff Levermore Richard     Levermore, Richard 0
5338606 2456646 2456646 defendant Hyllyng Robert yeoman 588289 588289 Hyllyng, Robert, of Exeter St Sativole, yeoman 0
5338607 2456646 2456646 defendant Hardyng John husbandman 846142 846142 Hardyng, John, of Est Raddon, husbandman 1
5338608 2456646 2456646 defendant Maunder Robert husbandman 587214 587214 Maunder, Robert, of Cruys Morchard, husbandman 2
5338609 2456646 2456646 defendant Bray Thomas   586036 586036 Bray, Thomas, of Exeter, tallow chandler 3
5338610 2456646 2456646 defendant Wyt John chaplain 586036 586036 Wyt, John, of Exeter, chaplain 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 14.87ms