home / cp40x

names

5 rows where case_id = 2328968

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4907674 2328968 2328968 plaintiff Acle Edmund   772928 772928 Acle, Edmund, of Herlyngdon, 0
4907675 2328968 2328968 defendant Bocher Simon butcher 627207 627207 Bocher, Simon, of Sharpenho, butcher 0
4907676 2328968 2328968 defendant Felmersha John husbandman 587294 587294 Felmersha, John, of Todyngton, husbandman 1
4907677 2328968 2328968 defendant Colshull Richard husbandman 599293 599293 Colshull, Richard, of Sundon, husbandman 2
4907678 2328968 2328968 defendant Pepyot Thomas butcher 820100 820100 Pepyot, Thomas, of Herlyngdon of Harlington, 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 14.778ms