home / cp40x

names

6 rows where case_id = 1903925

✎ 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
3628928 1903925 1903925 plaintiff Cole John     Cole, John 0
3628929 1903925 1903925 defendant Greyslyng Peter merchant 586834 586834 Greyslyng, Peter, of Plymmouth, merchant 0
3628930 1903925 1903925 defendant Forde William yeoman 597530 597530 Forde, William, of Bykley, yeoman 1
3628931 1903925 1903925 defendant Palmer William smith 597531 597531 Palmer, William, of Horebrigge, smith 2
3628932 1903925 1903925 defendant Moryng Walter yeoman 597532 597532 Moryng, Walter, of Petristavy, yeoman 3
3628933 1903925 1903925 defendant Andrewe John yeoman 597533 597533 Andrewe, John, of Shae, yeoman 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.134ms