home / cp40x

names

6 rows where case_id = 2364149

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5024711 2364149 2364149 plaintiff Hubbert John   836559 836559 Hubbert, John, of Wurthstede 0
5024712 2364149 2364149 defendant Hardyng Geoffrey butcher 826217 826217 Hardyng, Geoffrey, of Wytton juxta Bromholm, butcher 0
5024713 2364149 2364149 defendant Hubbert Robert husbandman 836560 836560 Hubbert, Robert, of Fynyngham, Suff, husbandman 1
5024714 2364149 2364149 defendant Bolt Richard butcher 586820 586820 Bolt, Richard, of Swanton Abbot, butcher 2
5024715 2364149 2364149 defendant Red John husbandman 590255 590255 Red, John, of Est Ryston, husbandman 3
5024716 2364149 2364149 defendant Clerk John clerk 810633 810633 Clerk, John, of Thrysford, clerk 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.736ms