home / cp40x

names

5 rows where case_id = 2490567

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5452320 2490567 2490567 plaintiff Surteys William clerk & master of the hospital of the BMM 594880 594880 Surteys, William, of Wynton, clerk & master of the hospital of the BMM 0
5452321 2490567 2490567 defendant Hakette William husbandman 889081 889081 Hakette, William, of Abbottesworthe, husbandman 0
5452322 2490567 2490567 defendant Shard Oliver yeoman 755134 755134 Shard, Oliver, of the Soke by Winchester, yeoman 1
5452323 2490567 2490567 defendant Curtys William pewterer 585951 585951 Curtys, William, of Winchester, pewterer 2
5452324 2490567 2490567 defendant Vyncent John fuller 700160 700160 Vyncent, John, of Soke by Winchester, fuller 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 13.274ms