home / cp40x

names

5 rows where case_id = 2536720

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5605844 2536720 2536720 plaintiff Store John     Store, John 0
5605845 2536720 2536720 defendant Dyar Thomas yeoman 586031 586031 Dyar, Thomas, of Rykmansworth, Herts, yeoman 0
5605846 2536720 2536720 defendant Wyng John yeoman 594481 594481 Wyng, John, of Rykmansworth, yeoman 1
5605847 2536720 2536720 defendant Harper Robert yeoman 587335 587335 Harper, Robert, of Henley on Thames, Oxon, yeoman 2
5605848 2536720 2536720 defendant Hampton Christopher yeoman 587336 587336 Hampton, Christopher, of Henley on Thames, yeoman 3

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