home / cp40x

names

6 rows where case_id = 2458097

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5343292 2458097 2458097 plaintiff Spert Richard     Spert, Richard 0
5343293 2458097 2458097 defendant Symond John butcher 601795 601795 Symond, John, of New Sleford, butcher 0
5343294 2458097 2458097 defendant Tysdale William tailor 667253 667253 Tysdale, William, of Bagenderby, tailor 1
5343295 2458097 2458097 defendant Glory or Elory John gent 875614 875614 Glory or Elory, John, of Rousby juxta Sleford, gent 2
5343296 2458097 2458097 defendant Broun John chaplain 588363 588363 Broun, John, of Granesby, chaplain 3
5343297 2458097 2458097 defendant Mumby William   588363 588363 Mumby, William, of Granesby, wright 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 13.203ms