home / cp40x

names

5 rows where case_id = 2260331

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4683105 2260331 2260331 plaintiff Palmer Richard     Palmer, Richard 0
4683106 2260331 2260331 defendant Sherbred Robert butcher 606787 606787 Sherbred, Robert, of Bylleryca, butcher 0
4683107 2260331 2260331 defendant Gylot Thomas laborer 606787 606787 Gylot, Thomas, of Bylleryca, laborer 1
4683108 2260331 2260331 defendant Pethe John herder 783636 783636 Pethe, John, of Wyddeford, herder 2
4683109 2260331 2260331 defendant Cook Peter laborer 783637 783637 Cook, Peter, of Little Leghe, laborer 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.246ms