home / cp40x

names

5 rows where place_id = 903683

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
5592243 2532569 2532569 defendant Berton Robert gent 903683 903683 Berton, Robert, of Hormeside, gent 0
5592244 2532569 2532569 defendant Berton William gent 903683 903683 Berton, William, of Hormeside, gent 1
5592245 2532569 2532569 defendant Cokden John yeoman 903683 903683 Cokden, John, of Hormeside, yeoman 2
5592246 2532569 2532569 defendant Walker Thomas husbandman 903683 903683 Walker, Thomas, of Hormeside, husbandman 3
5592247 2532569 2532569 defendant Lamberd William husbandman 903683 903683 Lamberd, William, of Hormeside, husbandman 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 9.62ms