home / cp40x

names

9 rows where case_id = 2220812

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4565598 2220812 2220812 plaintiff Snetesham William     Snetesham, William 0
4565599 2220812 2220812 defendant Perkyn Alan   587716 587716 Perkyn, Alan, of Hecham 0
4565600 2220812 2220812 defendant Burgoyne Thomas   587209 587209 Burgoyne, Thomas, of Marham 1
4565601 2220812 2220812 defendant Millere John   589331 589331 Millere, John, of Dersyngham, formerly farmer for Thomas Roo 2
4565602 2220812 2220812 defendant Wryght John   596764 596764 Wryght, John, of Rysyng 3
4565603 2220812 2220812 defendant Baxtere John   760188 760188 Baxtere, John, of Risyng 4
4565604 2220812 2220812 defendant atte Morr Thomas   588823 588823 atte Morr, Thomas, of Snetesham 5
4565605 2220812 2220812 defendant Draper Thomas   765277 765277 Draper, Thomas, of Little Massyngham 6
4565606 2220812 2220812 defendant Bubbyng Simon     Bubbyng, Simon 7

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 14.593ms