home / cp40x

names

8 rows where case_id = 2226739

✎ 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
4585008 2226739 2226739 plaintiff Grey Thomas     Grey, Thomas 0
4585009 2226739 2226739 defendant Swetyng John   586656 586656 Swetyng, John, of Coggeshale 0
4585010 2226739 2226739 defendant Leman John   772070 772070 Leman, John, of Berwold 1
4585011 2226739 2226739 defendant Fulke Michael     Fulke, Michael 2
4585012 2226739 2226739 defendant E_ John   592195 592195 E_, John, of Haddeley 3
4585013 2226739 2226739 defendant Huntyngfeld John   592195 592195 Huntyngfeld, John, of Haddeley 4
4585014 2226739 2226739 defendant Kempston Mary   592195 592195 Kempston, Mary, of Haddeley 5
4585015 2226739 2226739 defendant atte Brook Thomas   772071 772071 atte Brook, Thomas, of Waltyngfeld 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 15.271ms