home / cp40x

names

11 rows where case_id = 2244652

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4645155 2244652 2244652 plaintiff More John   599896 599896 More, John, of Colshill 0
4645156 2244652 2244652 defendant (illegible) John   777429 777429 _, John, of Howelay 0
4645157 2244652 2244652 defendant Okey John     Okey, John 1
4645158 2244652 2244652 defendant Turnour John     Turnour, John 2
4645159 2244652 2244652 defendant (illegible) John     _, John 3
4645160 2244652 2244652 defendant couper John     couper, John 4
4645161 2244652 2244652 defendant Phlips William     Phlips, William 5
4645162 2244652 2244652 defendant Hide John jun   Hide, John, jun 6
4645163 2244652 2244652 defendant Kyllyngworth William servant of William   Kyllyngworth, William, servant of William 7
4645164 2244652 2244652 defendant Killingworth John     Killingworth, John 8
4645165 2244652 2244652 defendant Turnour Robert     Turnour, Robert 9

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.195ms