home / cp40x

names

7 rows where case_id = 2195197

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4482389 2195197 2195197 plaintiff Metteley Edward     Metteley, Edward, on his own account 0
4482390 2195197 2195197 defendant Vyncent Thomas     Vyncent, Thomas 0
4482391 2195197 2195197 defendant Mayell John   656891 656891 Mayell, John, of Stratford upon Avon 1
4482392 2195197 2195197 defendant Prylly Peter     Prylly, Peter 2
4482393 2195197 2195197 defendant Bailly Thomas   761846 761846 Bailly, Thomas, of Little Brickhill, Bucks 3
4482394 2195197 2195197 defendant Bailly Hugh   646648 646648 Bailly, Hugh, of Clyfford 4
4482395 2195197 2195197 defendant Mayell William   656891 656891 Mayell, William, of Stratford upon Avon 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 12.921ms