home / cp40x

names

7 rows where case_id = 1864892

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3591256 1864892 1864892 plaintiff Dowenyng John     Dowenyng, John 0
3591257 1864892 1864892 defendant Rixman John husbandman 587380 587380 Rixman, John, of Sourton, husbandman 0
3591258 1864892 1864892 defendant Toly Robert husbandman 587381 587381 Toly, Robert, of Norton Sydenham, husbandman 1
3591259 1864892 1864892 defendant Toly Thomas husbandman 587382 587382 Toly, Thomas, of Norton Sidenham, husbandman 2
3591260 1864892 1864892 defendant Pomeray Thomas husbandman 587383 587383 Pomeray, Thomas, of Tolsloo, husbandman 3
3591261 1864892 1864892 defendant Coke John husbandman 587384 587384 Coke, John, of Lyston, husbandman 4
3591262 1864892 1864892 defendant Wode Robert chaplain 587385 587385 Wode, Robert, of Brodewodecary, chaplain 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 5.625ms