home / cp40x

names

7 rows where case_id = 1955360

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3792028 1955360 1955360 plaintiff Appulford John, senior     Appulford, John, senior 0
3792029 1955360 1955360 defendant Bett John husbandman 629954 629954 Bett, John, of Stansted Mountfechett, husbandman 0
3792030 1955360 1955360 defendant Lyttell John husbandman 629954 629954 Lyttell, John, of Stansted Mountfechett, husbandman 1
3792031 1955360 1955360 defendant Trewe Simon draper 588081 588081 Trewe, Simon, of Cambridge, draper 2
3792032 1955360 1955360 defendant Nasshe John husbandman 630015 630015 Nasshe, John, of Saweford, husbandman 3
3792033 1955360 1955360 defendant Miste John (legal representative) 586953 586953 Miste, John, of Sudbury, clothmaker, executor of 4
3792034 1955360 1955360 defendant Curde John butcher 608689 608689 Curde, John, of Balydon, butcher 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.043ms