home / cp40x

names

6 rows where case_id = 2551755

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5625009 2551755 2551755 plaintiff Lopynford John     Lopynford, John 0
5625010 2551755 2551755 defendant Seyntabyn Geoffrey esq 907043 907043 Seyntabyn, Geoffrey, of Clowans, Cornw, esq 0
5625011 2551755 2551755 defendant Gyles John yeoman 660202 660202 Gyles, John, of Frome, Soms, yeoman 1
5625012 2551755 2551755 defendant Blancherd Simon (legal representative)   Blancherd, Simon, executors of 2
5625013 2551755 2551755 defendant Blancherd Joan widow 617757 617757 (Blancherd, Joan, of Rakerneford, widow 3
5625014 2551755 2551755 defendant Blancherd Simon laborer 617757 617757 Blancherd, Simon, of Rakerneford, laborer 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 13.656ms