home / cp40x

names

7 rows where case_id = 1867377

✎ 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
3599169 1867377 1867377 plaintiff Thorp Robert gent   Thorp, Robert, gent 0
3599170 1867377 1867377 defendant Lambe William husbandman 586365 586365 Lambe, William, of Wymondham, husbandman 0
3599171 1867377 1867377 defendant Stokes Thomas clerk 588149 588149 Stokes, Thomas, of Clare, Suff, clerk 1
3599172 1867377 1867377 defendant Culpho John husbandman 589901 589901 Culpho, John, of Wolverston, Suff, husbandman 2
3599173 1867377 1867377 defendant Pykerell Robert baker 589902 589902 Pykerell, Robert, of Stowmarket, Suff, baker 3
3599174 1867377 1867377 defendant Bongent or Bougent John (legal representative)   Bongent or Bougent, John, administrator of 4
3599175 1867377 1867377 defendant Monmouth John merchant 585925 585925 Monmouth, John, of Bristol, merchant 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 13.615ms