home / cp40x

names

6 rows where case_id = 2366452

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5032707 2366452 2366452 plaintiff Selby Robert     Selby, Robert 0
5032708 2366452 2366452 defendant Poleyn Thomas husbandman 589001 589001 Poleyn, Thomas, of Maydeston, husbandman 0
5032709 2366452 2366452 defendant Herward John laborer 586999 586999 Herward, John, of Aylesford, laborer 1
5032710 2366452 2366452 defendant Estdoune Henry laborer 612605 612605 Estdoune, Henry, of Teneham, laborer 2
5032711 2366452 2366452 defendant Perys Walter glover 586249 586249 Perys, Walter, of Est Mallyng, glover 3
5032712 2366452 2366452 defendant Mellys Hugh laborer 586249 586249 Mellys, Hugh, of Est Mallyng, laborer 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 19.64ms