home / cp40x

names

6 rows where case_id = 2016906

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3978069 2016906 2016906 plaintiff Marres Richard grocer 585869 585869 Marres, Richard, of London, grocer 0
3978070 2016906 2016906 defendant Edmond Henry yeoman or chapman 665712 665712 Edmond, Henry, of Sysdyke, Lincs, or of Wysbyche, Isle of Ely, yeoman or chapman 0
3978071 2016906 2016906 defendant Swyfte John weaver 590430 590430 Swyfte, John, of Lichfeld, weaver 1
3978072 2016906 2016906 defendant Cutberte George innholder 665713 665713 Cutberte, George, of Sturbrydge, Wilts, innholder 2
3978073 2016906 2016906 defendant Cutler Nicholas gent or merchant tailor 665714 665714 Cutler, Nicholas, of Thornam, Suff, gent or merchant tailor 3
3978074 2016906 2016906 defendant Heyhyngton Thomas merchant tailor 585869 585869 Heyhyngton, Thomas, of London, merchant tailor 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 18.637ms