home / cp40x

names

5 rows where case_id = 2041325

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4046845 2041325 2041325 plaintiff Snydall Robert     Snydall, Robert 0
4046846 2041325 2041325 defendant Skoley John husbandman 681865 681865 Skoley, John, of Aldwicke on Strete, husbandman 0
4046847 2041325 2041325 defendant Skorer Nicholas husbandman 588489 588489 Skorer, Nicholas, of Melton, husbandman 1
4046848 2041325 2041325 defendant Feilde Thomas husbandman 681866 681866 Feilde, Thomas, of Carctofte, husbandman 2
4046849 2041325 2041325 defendant Wylson Richard yeoman 681867 681867 Wylson, Richard, of Hatfeilde Woodhouse, yeoman 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 15.319ms