home / cp40x

names

5 rows where case_id = 2291744

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4786255 2291744 2291744 plaintiff Frenche John     Frenche, John 0
4786256 2291744 2291744 defendant Hoper John chapman 587598 587598 Hoper, John, of Mayden Bradley, Wilts, chapman 0
4786257 2291744 2291744 defendant Jobbe Thomas dyer or weaver 649235 649235 Jobbe, Thomas, of Nony, dyer or weaver 1
4786258 2291744 2291744 defendant Wythcombe William   767477 767477 Wythcombe, William, of Missomer Norton 2
4786259 2291744 2291744 defendant Dodyngton John husbandman 592519 592519 Dodyngton, John, of Wyke, husbandman 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.133ms