home / cp40x

names

6 rows where case_id = 2320282

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4878710 2320282 2320282 plaintiff Thwaytes John     Thwaytes, John 0
4878711 2320282 2320282 defendant de Hall William husbandman 588730 588730 de Hall, William, of Kyghley, husbandman 0
4878712 2320282 2320282 defendant Merley William husbandman 713886 713886 Merley, William, of Merley, husbandman 1
4878713 2320282 2320282 defendant Brandon John husbandman 586675 586675 Brandon, John, of Brandon, husbandman 2
4878714 2320282 2320282 defendant Smyth Thomas smith 656094 656094 Smyth, Thomas, of Wetherby, smith 3
4878715 2320282 2320282 defendant Galaway William barker 689591 689591 Galaway, William, of Spofford, barker 4

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.124ms