home / cp40x

names

8 rows where case_id = 2354673

✎ 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
4992618 2354673 2354673 plaintiff Davy John     Davy, John 0
4992619 2354673 2354673 defendant Balle John yeoman 620827 620827 Balle, John, of Burnham Norton, yeoman 0
4992620 2354673 2354673 defendant Luwys William husbandman 588514 588514 Luwys, William, of Burnham Westgate, husbandman 1
4992621 2354673 2354673 defendant Smyth James smith 588514 588514 Smyth, James, of Burnham Westgate, smith 2
4992622 2354673 2354673 defendant Fuller Robert laborer 588514 588514 Fuller, Robert, of Burnham Westgate, laborer 3
4992623 2354673 2354673 defendant Barbour William barber 831893 831893 Barbour, William, of Burnham, Westgate, barber 4
4992624 2354673 2354673 defendant Wymark Richard laborer 588514 588514 Wymark, Richard, of Burnham Westgate, laborer 5
4992625 2354673 2354673 defendant Wade John laborer 598709 598709 Wade, John, of Burnham Ulpe, 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 11.614ms