home / cp40x

names

5 rows where case_id = 2274087

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4728271 2274087 2274087 plaintiff Huwet Robert formerly of the parish of St Mary, at the Strand, without London's new Temple Bars, brewer   Huwet, Robert, formerly of the parish of St Mary, at the Strand, without London's new Temple Bars, brewer, executors of 0
4728272 2274087 2274087 plaintiff Westland William     (Westland, William 1
4728273 2274087 2274087 plaintiff Westland Joan formerly wife of Robert Huwet   Joan, his wife, formerly wife of Robert Huwet 2
4728274 2274087 2274087 defendant Tryce John husbandman 787092 787092 Tryce, John, of Branfeld, Bucks, husbandman 0
4728275 2274087 2274087 defendant Pulter Alice widow, of Ampthull, Beds, formerly wife of Almeric Pulter   Pulter, Alice, widow, of Ampthull, Beds, formerly wife of Almeric Pulter 1

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 30.137ms