home / cp40x

names

8 rows where case_id = 2389590

✎ 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
5110928 2389590 2389590 plaintiff Harple John     Harple, John 0
5110929 2389590 2389590 defendant Bereford Thomas, senior yeoman 847610 847610 Bereford, Thomas, senior, of Foulemer, Cams, yeoman 0
5110930 2389590 2389590 defendant Wolff William husbandman 794724 794724 Wolff, William, of Foulemer, husbandman 1
5110931 2389590 2389590 defendant Baily John yeoman 609078 609078 Baily, John, of Melborne, Cams, yeoman 2
5110932 2389590 2389590 defendant Gardener John yeoman 794724 794724 Gardener, John, of Foulemer, yeoman 3
5110933 2389590 2389590 defendant Salysbury Richard yeoman 847607 847607 Salysbury, Richard, of Soham Mere, Cams, yeoman 4
5110934 2389590 2389590 defendant Pyngyll John yeoman 847608 847608 Pyngyll, John, of Soham Mere, yeoman 5
5110935 2389590 2389590 defendant Stanford John yeoman 847609 847609 Stanford, John, of Berton, Cams, yeoman 6

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