home / cp40x

names

7 rows where case_id = 2457936

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5342764 2457936 2457936 plaintiff Sharrow John abbot of Selby Abbey   Sharrow, John, abbot of Selby Abbey 0
5342765 2457936 2457936 defendant Theker John husbandman 688594 688594 Theker, John, of Estoft, husbandman 0
5342766 2457936 2457936 defendant Johnson Thomas husbandman 688594 688594 Johnson, Thomas, of Estoft, husbandman 1
5342767 2457936 2457936 defendant Marchall William husbandman 688594 688594 Marchall, William, of Estoft, husbandman 2
5342768 2457936 2457936 defendant Marchall John laborer 688594 688594 Marchall, John, of Estoft, laborer 3
5342769 2457936 2457936 defendant Bailly Robert husbandman 688594 688594 Bailly, Robert, of Estoft, husbandman 4
5342770 2457936 2457936 defendant Marchall Robert husbandman 688594 688594 Marchall, Robert, of Estoft, 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 16.925ms