home / cp40x

names

5 rows where place_id = 658190

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3947359 2006148 2006148 defendant Banyard John gent 658190 658190 Banyard, John, of Styfkey, Norf, gent 0
3964552 2012203 2012203 defendant Banyard John gent 658190 658190 Banyard, John, of Styfkey, Norf, gent 0
3964554 2012204 2012204 defendant Framyngham Robert yeoman 658190 658190 Framyngham, Robert, of Styfkey, Norf, yeoman 0
3964556 2012205 2012205 defendant Manser Richard yeoman 658190 658190 Manser, Richard, of Styfkey, Norf, yeoman 0
3967567 2013288 2013288 defendant Banyarde John gent 658190 658190 Banyarde, John, of Styfkey, Norf, gent 1

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