home / cp40x

names

6 rows where case_id = 2420551

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5216481 2420551 2420551 plaintiff de Ledes Richard prior of Monk Bretton Priory   de Ledes, Richard, prior of Monk Bretton Priory 0
5216482 2420551 2420551 defendant Pye John barker 620035 620035 Pye, John, of Roderham, barker 0
5216483 2420551 2420551 defendant Graham John spurrier 693506 693506 Graham, John, of Pontfret, spurrier 1
5216484 2420551 2420551 defendant Nykson Thomas butcher 693506 693506 Nykson, Thomas, of Pontfret, butcher 2
5216485 2420551 2420551 defendant Landog Richard cordwainer 693506 693506 Landog, Richard, of Pontfret, cordwainer 3
5216486 2420551 2420551 defendant Skaylhorn John chaplain 592288 592288 Skaylhorn, John, of Worsburgh, chaplain 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 14.501ms