home / cp40x

names

6 rows where case_id = 2004471

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3942402 2004471 2004471 plaintiff Whyttyngstall Richard merchant 629864 629864 Whyttyngstall, Richard, of Sandwiche, Kent, merchant 0
3942403 2004471 2004471 defendant Lewkenor Richard gent 585869 585869 Lewkenor, Richard, of London, gent 0
3942404 2004471 2004471 defendant Hossey Lawrence   605161 605161 Hossey, Lawrence, of East Greenwich, Kent 1
3942405 2004471 2004471 defendant Pennock Thomas merchant 590478 590478 Pennock, Thomas, of Sandwich, Kent, merchant 2
3942406 2004471 2004471 defendant Bachelar Giles   591728 591728 Bachelar, Giles, of Sandwich, rope maker 3
3942407 2004471 2004471 defendant Walgrave Thomas gent 585869 585869 Walgrave, Thomas, of London, gent 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 11.403ms