home / cp40x

names

7 rows where case_id = 2377211

✎ 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
5068949 2377211 2377211 plaintiff Pye Henry     Pye, Henry 0
5068950 2377211 2377211 plaintiff Corby John     Corby, John 1
5068951 2377211 2377211 defendant Hood Robert butcher 588286 588286 Hood, Robert, of Northalys, butcher 0
5068952 2377211 2377211 defendant Fuller William fuller 588286 588286 Fuller, William, of Northalys, fuller 1
5068953 2377211 2377211 defendant Fylson William shipman 588286 588286 Fylson, William, of Northalys, shipman 2
5068954 2377211 2377211 defendant Wysk William barker 598220 598220 Wysk, William, of Halesworth, barker 3
5068955 2377211 2377211 defendant Turnour John butcher 588286 588286 Turnour, John, of Northalys, butcher 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.664ms