home / cp40x

names

9 rows where case_id = 2525058

✎ 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
5567477 2525058 2525058 plaintiff Docwra Martin     Docwra, Martin 0
5567478 2525058 2525058 defendant Monkhous William yeoman 599947 599947 Monkhous, William, of Sourby, yeoman 0
5567479 2525058 2525058 defendant Monkhous Robert yeoman 900920 900920 Monkhous, Robert, of Medilskeugh, yeoman 1
5567480 2525058 2525058 defendant Monkhous Richard yeoman 900920 900920 Monkhous, Richard, of Medilskeugh, yeoman 2
5567481 2525058 2525058 defendant Monkhous John yeoman 591223 591223 Monkhous, John, of Soureby, yeoman 3
5567482 2525058 2525058 defendant Monkhous Christopher yeoman 591223 591223 Monkhous, Christopher, of Soureby, yeoman 4
5567483 2525058 2525058 defendant Monkhous William yeoman 591223 591223 Monkhous, William, of Soureby, yeoman 5
5567484 2525058 2525058 defendant Monkhous Richard yeoman 591223 591223 Monkhous, Richard, of Soureby, yeoman 6
5567485 2525058 2525058 defendant Alcok Thomas yeoman 591223 591223 Alcok, Thomas, of Soureby, yeoman 7

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