home / cp40x

names

5 rows where place_id = 823126

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4926097 2334589 2334589 defendant Wolmer Nicholas   823126 823126 Wolmer, Nicholas, of Great Holand, Essex 0
4994998 2355361 2355361 defendant Wolmere Nicholas clerk 823126 823126 Wolmere, Nicholas, of Great Holand, Essex, clerk 0
5043647 2369717 2369717 defendant Wolmere Nicholas clerk & King's preceptor 823126 823126 Wolmere, Nicholas, of Great Holand, Essex, clerk & King's preceptor 0
5044394 2369955 2369955 defendant Wolmer Nicholas   823126 823126 Wolmer, Nicholas, of Great Holand, Essex, parson 3
5151699 2401656 2401656 defendant Newman John clerk 823126 823126 Newman, John, of Great Holand, Essex, clerk 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 14.912ms