home / cp40x

names

9 rows where case_id = 2247129

✎ 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
4653896 2247129 2247129 plaintiff Bernys William     Bernys, William 0
4653897 2247129 2247129 plaintiff Rollyng John     Rollyng, John 1
4653898 2247129 2247129 plaintiff Adam John     Adam, John 2
4653899 2247129 2247129 defendant Hobard Thomas     Hobard, Thomas 0
4653900 2247129 2247129 defendant Lellysden Richard     Lellysden, Richard 1
4653901 2247129 2247129 defendant More Thomas   587557 587557 More, Thomas, of Benynden 2
4653902 2247129 2247129 defendant Crotehole Simon     Crotehole, Simon 3
4653903 2247129 2247129 defendant Brenchesle John     Brenchesle, John 4
4653904 2247129 2247129 defendant Ansty or Austy John     Ansty or Austy, John 5

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