home / cp40x

names

6 rows where case_id = 2369474

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5042859 2369474 2369474 plaintiff Elryngton Simon gent 603281 603281 Elryngton, Simon, of Middx, gent 0
5042860 2369474 2369474 plaintiff Prottour Thomas chaplain   Prottour, Thomas, chaplain 1
5042861 2369474 2369474 defendant Stevenson Hugh yeoman 838966 838966 Stevenson, Hugh, of Alwentdale, yeoman 0
5042862 2369474 2369474 defendant Cottysford Alwentdale yeoman   Cottysford, Alwentdale, yeoman 1
5042863 2369474 2369474 defendant Stevenson John yeoman 838966 838966 Stevenson, John, of Alwentdale, yeoman 2
5042864 2369474 2369474 defendant Barker Roger tanner 691597 691597 Barker, Roger, of Hexham, tanner 3

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