home / cp40x

names

11 rows where case_id = 2232821

✎ 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
4605316 2232821 2232821 plaintiff Armeston William     Armeston, William 0
4605317 2232821 2232821 defendant Corbrigg John   658629 658629 Corbrigg, John, of Ludgarshale 0
4605318 2232821 2232821 defendant Burbache John   610085 610085 Burbache, John, of Westcote 1
4605319 2232821 2232821 defendant Chaumburley William   626651 626651 Chaumburley, William, of Calston 2
4605320 2232821 2232821 defendant Bathecok John   616680 616680 Bathecok, John, of Stokley 3
4605321 2232821 2232821 defendant Stoce Thomas   593968 593968 Stoce, Thomas, of Calne 4
4605322 2232821 2232821 defendant Monk Thomas   770843 770843 Monk, Thomas, of Hethyngton 5
4605323 2232821 2232821 defendant Wythampton William     Wythampton, William 6
4605324 2232821 2232821 defendant Shether Robert     Shether, Robert 7
4605325 2232821 2232821 defendant Bechampton Nicholas     Bechampton, Nicholas 8
4605326 2232821 2232821 defendant Rasyn John   676568 676568 Rasyn, John, of Wiltshire 9

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