home / cp40x

names

5 rows where case_id = 2413358

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5191879 2413358 2413358 plaintiff More Thomas esq   More, Thomas, esq 0
5191880 2413358 2413358 defendant Jolyf Walter husbandman 857863 857863 Jolyf, Walter, of Up Wymburne, husbandman 0
5191881 2413358 2413358 defendant Godeman John husbandman 607444 607444 Godeman, John, of Damerham, Wilts, husbandman 1
5191882 2413358 2413358 defendant Petypace Simon laborer 596248 596248 Petypace, Simon, of Wodelond, laborer 2
5191883 2413358 2413358 defendant Webbe John butcher 786856 786856 Webbe, John, of Cranburn, butcher 3

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.95ms