home / cp40x

names

6 rows where place_id = 625335

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3763543 1946232 1946232 defendant Chese John maltman 625335 625335 Chese, John, of Sacomp, maltman 0
3801739 1958439 1958439 defendant Reynold Richard laborer 625335 625335 Reynold, Richard, of Sacomp, laborer 2
4617756 2236555 2236555 plaintiff Greve John   625335 625335 Greve, John, of Sacomp, parson 0
4617758 2236556 2236556 plaintiff Greve John   625335 625335 Greve, John, of Sacomp, parson 0
4778569 2289281 2289281 defendant Miller Thomas ploughman 625335 625335 Miller, Thomas, of Sacomp, ploughman 0
5565044 2524361 2524361 defendant Gledale Edward yeoman 625335 625335 Gledale, Edward, of Sacomp, yeoman 0

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 16.65ms