home / cp40x

names

6 rows where case_id = 2376827

✎ 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
5067679 2376827 2376827 plaintiff Ovy Nicholas     Ovy, Nicholas 0
5067680 2376827 2376827 defendant Whele Robert husbandman 591070 591070 Whele, Robert, of Refham, husbandman 0
5067681 2376827 2376827 defendant Skylman Richard gent 592154 592154 Skylman, Richard, of Southwold, Suff, gent 1
5067682 2376827 2376827 defendant Dowes John yeoman 589874 589874 Dowes, John, of Claxton, yeoman 2
5067683 2376827 2376827 defendant Waryn Robert husbandman 842502 842502 Waryn, Robert, of Sydestarn, husbandman 3
5067684 2376827 2376827 defendant Rydout John husbandman 842503 842503 Rydout, John, of Yhimelthorp, husbandman 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 14.114ms