home / cp40x

names

6 rows where case_id = 2520291

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5550882 2520291 2520291 plaintiff Clerk John mercer 585936 585936 Clerk, John, of Norwich, mercer 0
5550883 2520291 2520291 defendant Calthorp Edward esq 585936 585936 Calthorp, Edward, of Norwich, esq 0
5550884 2520291 2520291 defendant Wyngfeld William esq 899100 899100 Wyngfeld, William, of Spectyshale, Suff, esq 1
5550885 2520291 2520291 defendant Hendry John brasier 587418 587418 Hendry, John, of Dysse, brasier 2
5550886 2520291 2520291 defendant Bery Thomas yeoman 591141 591141 Bery, Thomas, of Loddon, yeoman 3
5550887 2520291 2520291 defendant Skynner John mercer 613875 613875 Skynner, John, of Staleham, mercer 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 14.153ms