home / cp40x

names

6 rows where case_id = 2402340

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5154034 2402340 2402340 plaintiff Lambe John grocer 585869 585869 Lambe, John, of London, grocer 0
5154035 2402340 2402340 defendant Gullofre Simon dyer 853895 853895 Gullofre, Simon, of Agmundesham, Bucks, dyer 0
5154036 2402340 2402340 defendant Gullofre William dyer 771219 771219 Gullofre, William, of Woxebrigge, dyer 1
5154037 2402340 2402340 defendant Fox Thomas gent 585869 585869 Fox, Thomas, of London, gent 2
5154038 2402340 2402340 defendant Clyfford Stephen yeoman 771219 771219 Clyfford, Stephen, of Woxebrigge, yeoman 3
5154039 2402340 2402340 defendant Baret William dyer 853896 853896 Baret, William, of Agmundesham, Berks, , dyer 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 19.095ms