home / cp40x

names

7 rows where case_id = 2302160

✎ 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
4819451 2302160 2302160 plaintiff Pete Henry     Pete, Henry 0
4819452 2302160 2302160 defendant Rede Thomas gent 718477 718477 Rede, Thomas, of Writle, gent 0
4819453 2302160 2302160 defendant Lyghtfote Walter husbandman 615288 615288 Lyghtfote, Walter, of Rokeswell, husbandman 1
4819454 2302160 2302160 defendant Cornewaylle John laborer 807271 807271 Cornewaylle, John, of Hyangre or High Ongar, laborer 2
4819455 2302160 2302160 defendant Drewe John husbandman 807272 807272 Drewe, John, of Hyangre, husbandman 3
4819456 2302160 2302160 defendant Drewe Joan     Joan, his wife 4
4819457 2302160 2302160 defendant Pulter John pulter 801840 801840 Pulter, John, of Chepyng Ongre, pulter 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.264ms