home / cp40x

names

7 rows where case_id = 2239401

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4627021 2239401 2239401 plaintiff Redmershill William     Redmershill, William 0
4627022 2239401 2239401 defendant Ruston Roger merchant 586067 586067 Ruston, Roger, of York, merchant 0
4627023 2239401 2239401 defendant Dounom Robert     Dounom, Robert 1
4627024 2239401 2239401 defendant Prestmer John   640557 640557 Prestmer, John, of Woodbrygg 2
4627025 2239401 2239401 defendant Moy Mathewe   587182 587182 Moy, Mathewe, of Blakeney 3
4627026 2239401 2239401 defendant Godeshelp John (legal representative)   Godeshelp, John, administratrix of 4
4627027 2239401 2239401 defendant Godeshelp Alice formerly wife of John   Godeshelp, Alice, formerly wife of John 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 13.209ms