home / cp40x

names

6 rows where case_id = 2509538

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5515013 2509538 2509538 plaintiff Sandford Brian esq   Sandford, Brian, esq 0
5515014 2509538 2509538 defendant Harryson Robert yeoman 596442 596442 Harryson, Robert, of Osburnby, yeoman 0
5515015 2509538 2509538 defendant Segrave Richard yeoman 895349 895349 Segrave, Richard, of Thekyngham, yeoman 1
5515016 2509538 2509538 defendant Loksmyth Thomas yeoman 588767 588767 Loksmyth, Thomas, of Burn, yeoman 2
5515017 2509538 2509538 defendant Ganne John butcher 588767 588767 Ganne, John, of Burn, butcher 3
5515018 2509538 2509538 defendant Grene Nicholas yeoman 626286 626286 Grene, Nicholas, of Helpryngham, 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 14.818ms