home / cp40x

names

14 rows where case_id = 2387903

✎ 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
5104999 2387903 2387903 plaintiff Cheyne Lawrence esq   Cheyne, Lawrence, esq 0
5105000 2387903 2387903 plaintiff Alyngton William esq   Alyngton, William, esq 1
5105001 2387903 2387903 defendant Lord John   602061 602061 Lord, John, of Leyghton 0
5105002 2387903 2387903 defendant Smyth John   588026 588026 Smyth, John, of Stoughton 1
5105003 2387903 2387903 defendant Dadyngton William     Dadyngton, William 2
5105004 2387903 2387903 defendant Grene Edward     Grene, Edward 3
5105005 2387903 2387903 defendant Archedecon Thomas     Archedecon, Thomas 4
5105006 2387903 2387903 defendant Faukes John     Faukes, John 5
5105007 2387903 2387903 defendant Bedyll Thomas     Bedyll, Thomas 6
5105008 2387903 2387903 defendant Lowthe Lionel     Lowthe, Lionel 7
5105009 2387903 2387903 defendant Ramsey Ralph     Ramsey, Ralph 8
5105010 2387903 2387903 defendant Kyng William     Kyng, William 9
5105011 2387903 2387903 defendant Gylour Henry     Gylour, Henry 10
5105012 2387903 2387903 defendant Druell Robert     Druell, Robert 11

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