home / cp40x

names

7 rows where case_id = 2242065

✎ 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
4635906 2242065 2242065 plaintiff Assheby Philip     Assheby, Philip 0
4635907 2242065 2242065 defendant Roo William   586428 586428 Roo, William, of Wilby 0
4635908 2242065 2242065 defendant Marchaunt Thomas   593181 593181 Marchaunt, Thomas, of Staverton 1
4635909 2242065 2242065 defendant Prat William   776628 776628 Prat, William, of Sulhull 2
4635910 2242065 2242065 defendant Hert William     Hert, William 3
4635911 2242065 2242065 defendant Broun John   655821 655821 Broun, John, of Dudyngton 4
4635912 2242065 2242065 defendant Staunton William   587285 587285 Staunton, William, of Kyngesthorp 5

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