home / cp40x

names

5 rows where case_id = 2464742

✎ 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
5365057 2464742 2464742 plaintiff Barker John, senior   586912 586912 Barker, John, senior, of Melford 0
5365058 2464742 2464742 defendant Smyth Nicholas husbandman 589650 589650 Smyth, Nicholas, of Long Melford, husbandman 0
5365059 2464742 2464742 defendant Freman Robert laborer 620198 620198 Freman, Robert, of Herthurst, laborer 1
5365060 2464742 2464742 defendant Barell Henry husbandman 598626 598626 Barell, Henry, of Stanstede, husbandman 2
5365061 2464742 2464742 defendant Kent Nicholas laborer 589650 589650 Kent, Nicholas, of Long Melford, 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 9.312ms