home / cp40x

names

5 rows where case_id = 2088112

✎ 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
4178936 2088112 2088112 plaintiff Kirke John     Kirke, John 0
4178937 2088112 2088112 defendant Prockter Robert husbandman 709550 709550 Prockter, Robert, of South Auston, husbandman 0
4178938 2088112 2088112 defendant Bylbye William, junior husbandman 709550 709550 Bylbye, William, junior, of South Auston, husbandman 1
4178939 2088112 2088112 defendant Penny Robert laborer 709551 709551 Penny, Robert, of North Auston, laborer 2
4178940 2088112 2088112 defendant Shirt Nicholas husbandman 709552 709552 Shirt, Nicholas, of Treeton, 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 9.621ms