home / cp40x

names

7 rows where case_id = 1944376

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3757663 1944376 1944376 plaintiff Booth Charles Bishop of Hereford   Booth, Charles, Bishop of Hereford 0
3757664 1944376 1944376 defendant Dyer Lewis yeoman 588373 588373 Dyer, Lewis, of Rosse, yeoman 0
3757665 1944376 1944376 defendant Brown Roger mercer 588373 588373 Brown, Roger, of Rosse, mercer 1
3757666 1944376 1944376 defendant Gateley John husbandman 590269 590269 Gateley, John, of Codyngton, husbandman 2
3757667 1944376 1944376 defendant Maddok John (legal representative)   Maddok, John, executors of 3
3757668 1944376 1944376 defendant Philpott Robert yeoman 588373 588373 (Philpott, Robert, of Rosse, yeoman 4
3757669 1944376 1944376 defendant Maddok William yeoman 588373 588373 Maddok, William, of Rosse, yeoman 5

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