home / cp40x

names

8 rows where case_id = 2245549

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4648241 2245549 2245549 plaintiff Strangeford Richard     Strangeford, Richard 0
4648242 2245549 2245549 defendant Carpenter John   621300 621300 Carpenter, John, of Wolvey 0
4648243 2245549 2245549 defendant Carpenter William   621300 621300 Carpenter, William, of Wolvey 1
4648244 2245549 2245549 defendant Sharpunore John     Sharpunore, John 2
4648245 2245549 2245549 defendant Tournour Roger   777688 777688 Tournour, Roger, of Bermecham 3
4648246 2245549 2245549 defendant Othen Robert   587352 587352 Othen, Robert, of Aston 4
4648247 2245549 2245549 defendant Reynold William   777689 777689 Reynold, William, of Berewod 5
4648248 2245549 2245549 defendant Bagger Richard   593153 593153 Bagger, Richard, of Middelton 6

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.426ms