home / cp40x

names

6 rows where place_id = 590679

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3601965 1868271 1868271 defendant More John husbandman 590679 590679 More, John, of Kelewedon, husbandman 0
3632189 1904883 1904883 defendant Reyner Michael yeoman 590679 590679 Reyner, Michael, of Kelewedon, yeoman 0
4542683 2213600 2213600 plaintiff Aldeham John   590679 590679 Aldeham, John, of Kelewedon, vicar 0
4992035 2354506 2354506 defendant Coker Henry husbandman 590679 590679 Coker, Henry, of Kelewedon, husbandman 0
5259027 2432940 2432940 defendant Hoke John butcher 590679 590679 Hoke, John, of Kelewedon, butcher 0
5259028 2432940 2432940 defendant Dode Roger butcher 590679 590679 Dode, Roger, of Kelewedon, butcher 1

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.676ms