home / cp40x

names

7 rows where case_id = 2446665

✎ 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
5305549 2446665 2446665 plaintiff Lewes William     Lewes, William 0
5305550 2446665 2446665 defendant Gilbert John gent 840111 840111 Gilbert, John, of Quene Cammell, Soms, gent 0
5305551 2446665 2446665 defendant Collas William yeoman 871150 871150 Collas, William, of Halwale, yeoman 1
5305552 2446665 2446665 defendant Wymarke Reginald husbandman 769575 769575 Wymarke, Reginald, of Queen Cammell, husbandman 2
5305553 2446665 2446665 defendant Smyth Richard smith 769575 769575 Smyth, Richard, of Queen Cammell, smith 3
5305554 2446665 2446665 defendant Rede Nicholas yeoman 769575 769575 Rede, Nicholas, of Queen Cammell, yeoman 4
5305555 2446665 2446665 defendant Coke Philip yeoman 587617 587617 Coke, Philip, of Shyrborne, Dorset, 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 15.882ms