home / cp40x

names

9 rows where case_id = 2320460

✎ 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
4879301 2320460 2320460 plaintiff Twyer Robert (legal representative) 592299 592299 Twyer, Robert, of Doncaster, executors of 0
4879302 2320460 2320460 plaintiff Twyer William     (Twyer, William 1
4879303 2320460 2320460 plaintiff Sutton Thomas     Sutton, Thomas 2
4879304 2320460 2320460 plaintiff Eland Thomas     Eland, Thomas 3
4879305 2320460 2320460 defendant Grene John gent 592299 592299 Grene, John, of Doncaster, gent 0
4879306 2320460 2320460 defendant Leston John draper 816443 816443 Leston, John, of Tyckehill, draper 1
4879307 2320460 2320460 defendant Bolt Richard roper 816443 816443 Bolt, Richard, of Tyckehill, roper 2
4879308 2320460 2320460 defendant Bussell Thomas chapman 592299 592299 Bussell, Thomas, of Doncaster, chapman 3
4879309 2320460 2320460 defendant Peke John yeoman 591222 591222 Peke, John, of Waddesworth, yeoman 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 9.374ms