home / cp40x

names

8 rows where case_id = 2419544

✎ 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
5213009 2419544 2419544 plaintiff Bere Thomas     Bere, Thomas 0
5213010 2419544 2419544 defendant Uppecote John gent 859934 859934 Uppecote, John, of Parva Bocarn, gent 0
5213011 2419544 2419544 defendant Luky John goldsmith 587114 587114 Luky, John, of Bodmyn, goldsmith 1
5213012 2419544 2419544 defendant Rothen Renfrew yeoman 587114 587114 Rothen, Renfrew, of Bodmyn, yeoman 2
5213013 2419544 2419544 defendant Malet John cordwainer 587114 587114 Malet, John, of Bodmyn, cordwainer 3
5213014 2419544 2419544 defendant Hamely William laborer 859934 859934 Hamely, William, of Parva Bocarn, laborer 4
5213015 2419544 2419544 defendant Pencors Thomas gent 859934 859934 Pencors, Thomas, of Parva Bocarn, gent 5
5213016 2419544 2419544 defendant Loom Isabel Parva Bocarn, widow   Loom, Isabel, Parva Bocarn, widow 6

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.629ms