home / cp40x

names

11 rows where case_id = 2220843

✎ 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
4565732 2220843 2220843 plaintiff Sothill Gerard knight   Sothill, Gerard, knight 0
4565733 2220843 2220843 defendant Goldesburgh Thomas   587546 587546 Goldesburgh, Thomas, of Halton 0
4565734 2220843 2220843 defendant Eston Henry   598803 598803 Eston, Henry, of Alford 1
4565735 2220843 2220843 defendant Claworth Thomas   586287 586287 Claworth, Thomas, of Horsyngton 2
4565736 2220843 2220843 defendant Galle John   590197 590197 Galle, John, of Cokeryngton 3
4565737 2220843 2220843 defendant Hamond William   637005 637005 Hamond, William, of Hykham 4
4565738 2220843 2220843 defendant Smyth John   770213 770213 Smyth, John, of Pan_ 5
4565739 2220843 2220843 defendant Marum Thomas   612120 612120 Marum, Thomas, of Sleford 6
4565740 2220843 2220843 defendant Davy Nicholas   589414 589414 Davy, Nicholas, of Threkyngham 7
4565741 2220843 2220843 defendant Shirburn William   587205 587205 Shirburn, William, of Grantham 8
4565742 2220843 2220843 defendant Cole Richard   687502 687502 Cole, Richard, of Thurlby 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 14.718ms