home / cp40x

names

7 rows where case_id = 2415554

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5199331 2415554 2415554 plaintiff Wasshist John     Wasshist, John 0
5199332 2415554 2415554 defendant Barker Thomas tanner 788983 788983 Barker, Thomas, of Halesworth, Suffolk, tanner 0
5199333 2415554 2415554 defendant Barker Joan     Joan, his wife 1
5199334 2415554 2415554 defendant Sellyng Richard yeoman 854548 854548 Sellyng, Richard, of South Elmham, Suffolk, yeoman 2
5199335 2415554 2415554 defendant Dryver William baker 598220 598220 Dryver, William, of Halesworth, baker 3
5199336 2415554 2415554 defendant Baret William jun, of Dekylburgh, Norf, yeoman   Baret, William, jun, of Dekylburgh, Norf, yeoman 4
5199337 2415554 2415554 defendant Folkard John yeoman 795974 795974 Folkard, John, of Eyk, Suff, yeoman 5

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