home / cp40x

names

7 rows where case_id = 2268305

✎ 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
4709430 2268305 2268305 plaintiff Penpons John     Penpons, John 0
4709431 2268305 2268305 defendant Layty John   586490 586490 Layty, John, of Milverton, Soms, scrivenor 0
4709432 2268305 2268305 defendant Bast John husbandman 597064 597064 Bast, John, of Redruth, husbandman 1
4709433 2268305 2268305 defendant Bree Nicholas husbandman 788749 788749 Bree, Nicholas, of Bree by Penhelek, husbandman 2
4709434 2268305 2268305 defendant Talgarrek John weaver 788750 788750 Talgarrek, John, of Talgarrek, by Restosek, weaver 3
4709435 2268305 2268305 defendant John Roger husbandman 607496 607496 John, Roger, of Helston Burgh, husbandman 4
4709436 2268305 2268305 defendant Ewader Henry husbandman 788751 788751 Ewader, Henry, of Trengweth, husbandman 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 16.027ms