home / cp40x

names

9 rows where case_id = 2343074

✎ 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
4953729 2343074 2343074 plaintiff Smyth James     Smyth, James 0
4953730 2343074 2343074 defendant Trethias John gent 826804 826804 Trethias, John, of Trethias, Cornw, gent 0
4953731 2343074 2343074 defendant Saye William husbandman 826805 826805 Saye, William, of Trevymmedyr, Cornw, husbandman 1
4953732 2343074 2343074 defendant Genebawe John husbandman 826806 826806 Genebawe, John, of Penter, Cornw, husbandman 2
4953733 2343074 2343074 defendant Regonlon Margery widow 826807 826807 Regonlon, Margery, of Trevymmedyr, widow 3
4953734 2343074 2343074 defendant Tregadder William husbandman 826808 826808 Tregadder, William, of St Maban, Cornw, husbandman 4
4953735 2343074 2343074 defendant Martyn Thomas husbandman 826809 826809 Martyn, Thomas, of Tann, Cornw, husbandman 5
4953736 2343074 2343074 defendant Barre Martin   826807 826807 Barre, Martin, of Trevymmedyr 6
4953737 2343074 2343074 defendant Cowelyng Stephen husbandman 614608 614608 Cowelyng, Stephen, of Launston, Cornw, husbandman 7

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 15.895ms