home / cp40x

names

10 rows where case_id = 1987972

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3893230 1987972 1987972 plaintiff Paston William knight   Paston, William, knight 0
3893231 1987972 1987972 defendant Smythe Roger husbandman 646869 646869 Smythe, Roger, of Pagrave, Sporle, husbandman 0
3893232 1987972 1987972 defendant Brydges Edward husbandman 646869 646869 Brydges, Edward, of Pagrave, Sporle, husbandman 1
3893233 1987972 1987972 defendant Kyrby John husbandman 646869 646869 Kyrby, John, of Pagrave, Sporle, husbandman 2
3893234 1987972 1987972 defendant Cukcoo John husbandman 646869 646869 Cukcoo, John, of Pagrave, Sporle, husbandman 3
3893235 1987972 1987972 defendant Hyll Richard     Hyll, Richard 4
3893236 1987972 1987972 defendant Deye Robert     Deye, Robert 5
3893237 1987972 1987972 defendant Ivegoo Simon shepherd   Ivegoo, Simon, shepherd 6
3893238 1987972 1987972 defendant Robson John     Robson, John 7
3893239 1987972 1987972 defendant Robson Thomas     Robson, Thomas 8

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