home / cp40x

names

5 rows where case_id = 2029072

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4012154 2029072 2029072 plaintiff Pullyson Thomas draper 585869 585869 Pullyson, Thomas, of London, draper 0
4012155 2029072 2029072 defendant Bentley Richard gent 586347 586347 Bentley, Richard, of West Ham, Essex, gent 0
4012156 2029072 2029072 defendant Leman Alvered or Avery chapman 585869 585869 Leman, Alvered or Avery, of London, or of Cambridge, chapman 1
4012157 2029072 2029072 defendant Dutton John gent 669771 669771 Dutton, John, of London, of Lincolns Inn, gent 2
4012158 2029072 2029072 defendant Addingrave Augustine or Austin gent 698352 698352 Addingrave, Augustine or Austin, of Yelford, Oxon, gent, servant to Walter Penyston, of Yelford, gent 3

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 5.825ms