home / cp40x

names

7 rows where case_id = 2516989

✎ 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
5539984 2516989 2516989 plaintiff Halley William (legal representative)   Halley, William, executors of 0
5539985 2516989 2516989 plaintiff Knottesford Geoffrey     (Knottesford, Geoffrey 1
5539986 2516989 2516989 plaintiff Wodward William     Wodward, William 2
5539987 2516989 2516989 defendant Snowe Ralph yeoman 586432 586432 Snowe, Ralph, of Camden, Glos, yeoman 0
5539988 2516989 2516989 defendant Hode Thomas husbandman 897893 897893 Hode, Thomas, of Chyldes Wykewan, Glos, husbandman 1
5539989 2516989 2516989 defendant Roche William husbandman 897894 897894 Roche, William, of Hynchewyk, Glos, husbandman 2
5539990 2516989 2516989 defendant Warnard William husbandman 617094 617094 Warnard, William, of Chyldes Wykwan, husbandman 3

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.405ms