home / cp40x

names

6 rows where case_id = 2382095

✎ 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
5085293 2382095 2382095 plaintiff Grene John     Grene, John 0
5085294 2382095 2382095 defendant Colman Thomas tailor 796999 796999 Colman, Thomas, of Arnesby, Leics, tailor 0
5085295 2382095 2382095 defendant Meleton Robert clerk 770699 770699 Meleton, Robert, of Torlaston, clerk 1
5085296 2382095 2382095 defendant Pys Thomas husandman 588053 588053 Pys, Thomas, of Wheston, husandman 2
5085297 2382095 2382095 defendant Loke John clerk 594496 594496 Loke, John, of Warsop, clerk 3
5085298 2382095 2382095 defendant Phelypp John yeoman 602351 602351 Phelypp, John, of Stretton, 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 13.372ms