home / cp40x

names

7 rows where case_id = 2315877

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4864520 2315877 2315877 plaintiff Forman Robert     Forman, Robert 0
4864521 2315877 2315877 defendant Maydenwell William husbandman 814534 814534 Maydenwell, William, of Strubby juxta Wytherne, husbandman 0
4864522 2315877 2315877 defendant Webster Thomas husbandman 697132 697132 Webster, Thomas, of Caneby, husbandman 1
4864523 2315877 2315877 defendant Aleby John husbandman 814535 814535 Aleby, John, of Calkwell, husbandman 2
4864524 2315877 2315877 defendant Hedon William glover 594963 594963 Hedon, William, of Est Rasyn, glover 3
4864525 2315877 2315877 defendant Wryght John   814536 814536 Wryght, John, of Askeby juxta Horncastle, wright 4
4864526 2315877 2315877 defendant Jamesson William husbandman 594963 594963 Jamesson, William, of Est Rasyn, husbandman 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 15.214ms