home / cp40x

names

7 rows where case_id = 2425889

✎ 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
5235256 2425889 2425889 plaintiff Davy John (legal representative) 590066 590066 Davy, John, of Bryggewater, tanner, executors of 0
5235257 2425889 2425889 plaintiff Kendale John     (Kendale, John 1
5235258 2425889 2425889 defendant Smyth John (legal representative)   Smyth, John, executors of 0
5235259 2425889 2425889 defendant Pynson Robert yeoman 588573 588573 (Pynson, Robert, of Dunster, yeoman 1
5235260 2425889 2425889 defendant Barbour William yeoman 587645 587645 Barbour, William, of Cherde, yeoman 2
5235261 2425889 2425889 defendant Stafford John butcher 862508 862508 Stafford, John, of Pytteney Lotty, butcher 3
5235262 2425889 2425889 defendant Baron John yeoman 590317 590317 Baron, John, of Dorchester, Dorset, 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 20.75ms