home / cp40x

names

6 rows where case_id = 2404763

✎ 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
5162505 2404763 2404763 plaintiff Upton William     Upton, William 0
5162506 2404763 2404763 defendant Horsley John laborer 669115 669115 Horsley, John, of Skirbek, laborer 0
5162507 2404763 2404763 defendant Pillet Simon gent 586286 586286 together with Pillet, Simon, of Boston, gent 1
5162508 2404763 2404763 defendant Payntour John laborer 669115 669115 Payntour, John, of Skirbek, laborer 2
5162509 2404763 2404763 defendant Tarres Richard potter 586286 586286 Tarres, Richard, of Boston, potter 3
5162510 2404763 2404763 defendant Pynner Thomas carpenter 586286 586286 Pynner, Thomas, of Boston, carpenter 4

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 49.757ms