home / cp40x

names

7 rows where case_id = 2091873

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4189637 2091873 2091873 plaintiff Wolriche Richard     Wolriche, Richard 0
4189638 2091873 2091873 defendant Lyne Thomas yeoman 656977 656977 Lyne, Thomas, of Byllyngton, yeoman 0
4189639 2091873 2091873 defendant Royley John husbandman 656977 656977 Royley, John, of Byllyngton, husbandman 1
4189640 2091873 2091873 defendant Royley Edward husbandman 656977 656977 Royley, Edward, of Byllyngton, husbandman 2
4189641 2091873 2091873 defendant Backehowse alias Chamberlen Thomas yeoman 711565 711565 Backehowse alias Chamberlen, Thomas, of Castle Churche, yeoman 3
4189642 2091873 2091873 defendant Sutton John yeoman 675200 675200 Sutton, John, of Dorryngton, yeoman 4
4189643 2091873 2091873 defendant Cooke John husbandman 668344 668344 together with Cooke, John, of Copnall, husbandman 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.698ms