home / cp40x

names

6 rows where case_id = 1964861

✎ 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
3822239 1964861 1964861 plaintiff Sprott Thomas   634937 634937 Sprott, Thomas, of Asshemerbroke 0
3822240 1964861 1964861 defendant Sotheworth Richard yeoman 611379 611379 Sotheworth, Richard, of Bromley Abbots, yeoman 0
3822241 1964861 1964861 defendant Basford Robert cordwainer 592232 592232 Basford, Robert, of Rugeley, cordwainer 1
3822242 1964861 1964861 defendant Fraunceys Geoffrey yeoman 634938 634938 Fraunceys, Geoffrey, of Newton, Blysfelde, yeoman 2
3822243 1964861 1964861 defendant Hynkeley William tanner 611379 611379 Hynkeley, William, of of Bromley Abbots, tanner 3
3822244 1964861 1964861 defendant Lethom Thomas yeoman 611379 611379 Lethom, Thomas, of Bromley Abbots, yeoman 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 13.819ms