home / cp40x

names

5 rows where place_id = 774835

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4584188 2226470 2226470 plaintiff Gibson William   774835 774835 Gibson, William, of Slengesby, parson 0
4616533 2236166 2236166 defendant Collan John   774835 774835 Collan, John, of Slengesby 0
4816526 2301260 2301260 defendant Taillour Robert tailor 774835 774835 Taillour, Robert, of Slengesby, tailor 0
4984292 2352227 2352227 defendant Wawthowe Robert   774835 774835 Wawthowe, Robert, of Slengesby, yeoman, dwelling with Thomas Nevell 1
4984293 2352227 2352227 defendant Sharowe William   774835 774835 Sharowe, William, of Slengesby, yeoman, dwelling with Thomas Nevell 2

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