home / cp40x

names

8 rows where case_id = 2051642

✎ 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
4075781 2051642 2051642 plaintiff Savile Edward esq   Savile, Edward, esq 0
4075782 2051642 2051642 defendant Oldefeld Thomas yeoman 688450 688450 Oldefeld, Thomas, of Barkeslande, yeoman 0
4075783 2051642 2051642 defendant Gledle John yeoman 688450 688450 Gledle, John, of Barkeslande, yeoman 1
4075784 2051642 2051642 defendant Bothomley Thomas yeoman 688450 688450 Bothomley, Thomas, of Barkeslande, yeoman 2
4075785 2051642 2051642 defendant Mylner Stephen laborer 688450 688450 Mylner, Stephen, of Barkeslande, laborer 3
4075786 2051642 2051642 defendant Foxcroft Daniel yeoman 688450 688450 Foxcroft, Daniel, of Barkeslande, yeoman 4
4075787 2051642 2051642 defendant Bothomley Ralph laborer 688450 688450 Bothomley, Ralph, of Barkeslande, laborer 5
4075788 2051642 2051642 defendant Mylner Henry laborer 688450 688450 Mylner, Henry, of Barkeslande, laborer 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 17.233ms