home / cp40x

names

8 rows where case_id = 1869787

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3606751 1869787 1869787 plaintiff Pawe Andrew     Pawe, Andrew 0
3606752 1869787 1869787 defendant Pygon Thomas yeoman 589679 589679 Pygon, Thomas, of Knapton, yeoman 0
3606753 1869787 1869787 defendant Spenyng Henry yeoman 592153 592153 Spenyng, Henry, of Wroxham, yeoman 1
3606754 1869787 1869787 defendant Heynes Robert yeoman 588239 588239 Heynes, Robert, of Yelverton, yeoman 2
3606755 1869787 1869787 defendant Burgeys James yeoman 589808 589808 Burgeys, James, of Swafeld, yeoman 3
3606756 1869787 1869787 defendant Bernard Thomas yeoman 588126 588126 Bernard, Thomas, of North Walsham, yeoman 4
3606757 1869787 1869787 defendant Hadryngham William yeoman 589043 589043 Hadryngham, William, of North Byrlyngham, yeoman 5
3606758 1869787 1869787 defendant Smyth William yeoman 592154 592154 Smyth, William, of Southwold, Suff, 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 11.914ms