home / cp40x

names

6 rows where place_id = 627065

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
3773972 1949575 1949575 plaintiff Abell John yeoman 627065 627065 Abell, John, of Erehith, yeoman 0
5296668 2444011 2444011 defendant Draper William yeoman 627065 627065 Draper, William, of Erehith, yeoman 0
5439078 2486611 2486611 defendant Samwell William waterman 627065 627065 Samwell, William, of Erehith, waterman 0
5439128 2486627 2486627 defendant Sampson William waterman 627065 627065 Sampson, William, of Erehith, waterman 0
5441423 2487355 2487355 defendant Sampson William   627065 627065 Sampson, William, of Erehith 0
5525460 2512554 2512554 defendant Pykenham George gent 627065 627065 Pykenham, George, of Erehith, gent 0

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