home / cp40x

names

6 rows where case_id = 1944591

✎ 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
3758297 1944591 1944591 plaintiff Brynkhurste John     Brynkhurste, John 0
3758298 1944591 1944591 defendant Rowland John husbandman 624460 624460 Rowland, John, of West Wykeham, Bucks, husbandman 0
3758299 1944591 1944591 defendant Carter Thomas husbandman 624461 624461 Carter, Thomas, of West Wikeham, husbandman 1
3758300 1944591 1944591 defendant Fyssher Henry miller 624462 624462 Fyssher, Henry, of Hameldon, Bucks, miller 2
3758301 1944591 1944591 defendant Plumryge John   624463 624463 Plumryge, John, of Lane End, West Wikeham, brick maker 3
3758302 1944591 1944591 defendant Gybbons John husbandman 624464 624464 Gybbons, John, of Skermouth, Bucks, husbandman 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 6.24ms