home / cp40x

names

6 rows where case_id = 2335214

✎ 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
4928072 2335214 2335214 plaintiff Shepherd John     Shepherd, John 0
4928073 2335214 2335214 defendant Ostelyn John husbandman 755248 755248 Ostelyn, John, of Feltewell, husbandman 0
4928074 2335214 2335214 defendant Stokes John husbandman 598468 598468 Stokes, John, of Hokewold, husbandman 1
4928075 2335214 2335214 defendant Yong Thomas husbandman 823408 823408 Yong, Thomas, of Felgewell, husbandman 2
4928076 2335214 2335214 defendant Grigge John   755248 755248 Grigge, John, of Feltewell, shepherd 3
4928077 2335214 2335214 defendant Freman Edmund husbandman 763499 763499 Freman, Edmund, of Little Cressyngham, husbandman 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.577ms