home / cp40x

names

7 rows where case_id = 2238166

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4622979 2238166 2238166 plaintiff Marchaunt William     Marchaunt, William 0
4622980 2238166 2238166 defendant Rolf John   765127 765127 Rolf, John, of Redyngge, son of William 0
4622981 2238166 2238166 defendant Foghyl Thomas   775439 775439 Foghyl, Thomas, of Wyghtryshamme 1
4622982 2238166 2238166 defendant Wytte John   775440 775440 Wytte, John, of Wyghtyrshamme 2
4622983 2238166 2238166 defendant atte Meed Thomas   775439 775439 atte Meed, Thomas, of Wyghtryshamme 3
4622984 2238166 2238166 defendant Marchaunt John butcher   Marchaunt, John, butcher 4
4622985 2238166 2238166 defendant Reygate John miller 757260 757260 Reygate, John, of Esshetesford, miller 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.584ms