home / cp40x

names

6 rows where case_id = 2524870

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5566743 2524870 2524870 plaintiff Cornewell Richard esq   Cornewell, Richard, esq 0
5566744 2524870 2524870 defendant Beignam Richard yeoman 900831 900831 Beignam, Richard, of Bokyngeshop, yeoman 0
5566745 2524870 2524870 defendant Shyre Walter husbandman 900832 900832 Shyre, Walter, of Ravenhill, husbandman 1
5566746 2524870 2524870 defendant Garnons John yeoman 825507 825507 Garnons, John, of Malmeshil Lacy, yeoman 2
5566747 2524870 2524870 defendant Hergest Henry yeoman 601087 601087 Hergest, Henry, of Dore, yeoman 3
5566748 2524870 2524870 defendant Turner John husbandman 589546 589546 Turner, John, of Yatton, husbandman 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 19.413ms