home / cp40x

names

6 rows where case_id = 2420552

✎ 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
5216487 2420552 2420552 plaintiff de Ledes Richard prior of Monk Bretton Priory   de Ledes, Richard, prior of Monk Bretton Priory 0
5216488 2420552 2420552 defendant Swaledale John husbandman 619836 619836 Swaledale, John, of Sutton in Holdernes, husbandman 0
5216489 2420552 2420552 defendant Barry Thomas parson of Aston   Barry, Thomas, parson of Aston 1
5216490 2420552 2420552 defendant Huet Nicholas yeoman 597943 597943 Huet, Nicholas, of Wales, yeoman 2
5216491 2420552 2420552 defendant Hugden Adam husbandman 597943 597943 Hugden, Adam, of Wales, husbandman 3
5216492 2420552 2420552 defendant Laghton John gent 860317 860317 Laghton, John, of Letewell, gent 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 13.786ms