home / cp40x

names

8 rows where case_id = 2378738

✎ 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
5074072 2378738 2378738 plaintiff Wentworth Philip esq   Wentworth, Philip, esq 0
5074073 2378738 2378738 plaintiff Bernard John     Bernard, John 1
5074074 2378738 2378738 defendant Mannok John esq 596344 596344 Mannok, John, of Stoke juxta Neylond, esq 0
5074075 2378738 2378738 defendant Wynde Thomas husbandman 591115 591115 Wynde, Thomas, of Earl Stonham, husbandman 1
5074076 2378738 2378738 defendant Deye Philip husbandman 591115 591115 Deye, Philip, of Earl Stonham, husbandman 2
5074077 2378738 2378738 defendant Turnour Thomas husbandman 591115 591115 Turnour, Thomas, of Earl Stonham, husbandman 3
5074078 2378738 2378738 defendant Baker John husbandman 629988 629988 Baker, John, of Ryngsell, husbandman 4
5074079 2378738 2378738 defendant Jurdon William husbandman 598609 598609 Jurdon, William, of Cretyng St Mary, or of Cretyng All Saints, 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 13.417ms