home / cp40x

names

7 rows where case_id = 2303681

✎ 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
4824356 2303681 2303681 plaintiff Tanner John     Tanner, John, on his own account 0
4824357 2303681 2303681 defendant atte wode Thomas laborer 588412 588412 atte wode, Thomas, of Westwell, laborer 0
4824358 2303681 2303681 defendant Sare John laborer 593138 593138 Sare, John, of Lenham, laborer 1
4824359 2303681 2303681 defendant Prat William laborer 593138 593138 Prat, William, of Lenham, laborer 2
4824360 2303681 2303681 defendant Robert John laborer 808152 808152 Robert, John, of Egyrton, laborer 3
4824361 2303681 2303681 defendant Hert John laborer 603244 603244 Hert, John, of Little Chart, laborer 4
4824362 2303681 2303681 defendant Hert Alexander butcher 603244 603244 Hert, Alexander, of Little Chart, butcher 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 12.081ms