home / cp40x

names

7 rows where case_id = 1943758

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3755741 1943758 1943758 plaintiff Wynde Richard     Wynde, Richard 0
3755742 1943758 1943758 defendant Pygot John husbandman 595639 595639 Pygot, John, of Fenstanton, husbandman 0
3755743 1943758 1943758 defendant Symond John husbandman 624032 624032 Symond, John, of Fenstaunton, husbandman 1
3755744 1943758 1943758 defendant Melborne Thomas husbandman 587025 587025 Melborne, Thomas, of Houghton, husbandman 2
3755745 1943758 1943758 defendant Stryche John husbandman 624033 624033 Stryche, John, of Hylten, husbandman 3
3755746 1943758 1943758 defendant Lambard John husbandman 617854 617854 Lambard, John, of Hemyngford Abbots, husbandman 4
3755747 1943758 1943758 defendant Browne Anthony husbandman 589604 589604 Browne, Anthony, of Broughton, husbandman 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 11.707ms