home / cp40x

names

6 rows where case_id = 2341178

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4947379 2341178 2341178 plaintiff Levermore John     Levermore, John 0
4947380 2341178 2341178 defendant Stylyng John husbandman 587224 587224 Stylyng, John, of Otery St Mary, husbandman 0
4947381 2341178 2341178 defendant Burcomb John butcher 587224 587224 Burcomb, John, of Otery St Mary, butcher 1
4947382 2341178 2341178 defendant Taillour William chapman 587224 587224 Taillour, William, of Otery St Mary, chapman 2
4947383 2341178 2341178 defendant Sutton John (legal representative)   Sutton, John, executors of 3
4947384 2341178 2341178 defendant Yong John husbandman 586442 586442 (Yong, John, of Honyton, husbandman 4

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