home / cp40x

names

6 rows where case_id = 2226498

✎ 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
4584288 2226498 2226498 plaintiff Gillyng Robert     Gillyng, Robert 0
4584289 2226498 2226498 defendant Couper Thomas   771990 771990 Couper, Thomas, of Wyrethorp 0
4584290 2226498 2226498 defendant Carter William   590548 590548 Carter, William, of Thryske 1
4584291 2226498 2226498 defendant Madirsdale John weaver 771991 771991 Madirsdale, John, of Harum, weaver 2
4584292 2226498 2226498 defendant Lambe William   643964 643964 Lambe, William, of Crayke 3
4584293 2226498 2226498 defendant Menyngthorp Robert   614481 614481 Menyngthorp, Robert, of Bossall 4

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