home / cp40x

names

6 rows where case_id = 2521585

✎ 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
5555405 2521585 2521585 plaintiff Jenyns Nicholas skinner 585869 585869 Jenyns, Nicholas, of London, skinner 0
5555406 2521585 2521585 defendant Smyth William esq 585869 585869 Smyth, William, of London, esq 0
5555407 2521585 2521585 defendant Clyfford Henry clerk 603004 603004 Clyfford, Henry, of Amptell, Beds, clerk 1
5555408 2521585 2521585 defendant Snage Henry gent 899620 899620 Snage, Henry, of Scroby, Yorks, gent 2
5555409 2521585 2521585 defendant Paulette John gent 899621 899621 Paulette, John, of Godtherst, Soms, gent 3
5555410 2521585 2521585 defendant Alfrey Edmund gent 702855 702855 Alfrey, Edmund, of Grensted, Sussex, gent 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.523ms