home / cp40x

names

7 rows where case_id = 2066955

✎ 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
4118626 2066955 2066955 plaintiff Wyncoll William (legal representative)   Wyncoll, William, executor of 0
4118627 2066955 2066955 plaintiff Wyncoll John     Wyncoll, John 1
4118628 2066955 2066955 defendant Owen Edward tailor 588643 588643 Owen, Edward, of Walden, Essex, tailor 0
4118629 2066955 2066955 defendant Felsted Nicholas, junior yeoman 609527 609527 Felsted, Nicholas, junior, of Litelbury, Essex, yeoman 1
4118630 2066955 2066955 defendant Bredgman William pedder 586312 586312 Bredgman, William, of Walden, pedder 2
4118631 2066955 2066955 defendant Dyxson John dyer 586312 586312 Dyxson, John, of Walden, dyer 3
4118632 2066955 2066955 defendant Dyxson William chandler 586312 586312 Dyxson, William, of Walden, chandler 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 12.293ms