home / cp40x

names

6 rows where case_id = 1914977

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3664931 1914977 1914977 plaintiff Sherborne Robert   606359 606359 Sherborne, Robert, of Chichester, Bishop 0
3664932 1914977 1914977 defendant Swayn Thomas yeoman 606360 606360 Swayn, Thomas, of Cokkyng, Sussex, yeoman 0
3664933 1914977 1914977 defendant Smyth John yeoman 590528 590528 Smyth, John, of Cokkyng, yeoman 1
3664934 1914977 1914977 defendant Argetyn John yeoman 590528 590528 Argetyn, John, of Cokkyng, yeoman 2
3664935 1914977 1914977 defendant Bakon John yeoman 606361 606361 Bakon, John, of Cokkyhng, yeoman 3
3664936 1914977 1914977 defendant Hertley John yeoman 590528 590528 Hertley, John, of Cokkyng, 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 10.198ms