home / cp40x

names

6 rows where case_id = 2359613

✎ 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
5009307 2359613 2359613 plaintiff Trelauny Richard     Trelauny, Richard 0
5009308 2359613 2359613 defendant Calwa John gent 834474 834474 Calwa, John, of Norcold Reynek, gent 0
5009309 2359613 2359613 defendant Ham John   834475 834475 Ham, John, of Trevassa, farnklin 1
5009310 2359613 2359613 defendant Trethewy William gent 834476 834476 together with Trethewy, William, of West Keverell, gent 2
5009311 2359613 2359613 defendant Trote Henry yeoman 625712 625712 Trote, Henry, of St Clere, yeoman 3
5009312 2359613 2359613 defendant Bovy Stephen yeoman 640330 640330 Bovy, Stephen, of Lanrak, yeoman 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 17.253ms