home / cp40x

names

7 rows where case_id = 2355751

✎ 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
4996294 2355751 2355751 plaintiff Haddon John merchant 591028 591028 Haddon, John, of Crediton, merchant 0
4996295 2355751 2355751 defendant clyke Thomas clerk 785300 785300 clyke, Thomas, of Langetre, clerk 0
4996296 2355751 2355751 defendant Taillour Ralph chapman 772572 772572 Taillour, Ralph, of St German, Cornwall, chapman 1
4996297 2355751 2355751 defendant Taillour William chaplain 832483 832483 Taillour, William, of Oakhampton, Devon, chaplain 2
4996298 2355751 2355751 defendant Stranghill William laborer 785451 785451 Stranghill, William, of Stratton, Cornwall, laborer 3
4996299 2355751 2355751 defendant Russell John clerk 821936 821936 Russell, John, of Plympton Earls, Devon, clerk 4
4996300 2355751 2355751 defendant Nicoll John laborer 832484 832484 Nicoll, John, of St Dey, Cornwall, laborer 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 14.462ms