home / cp40x

names

6 rows where case_id = 2418092

✎ 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
5208067 2418092 2418092 plaintiff Palmer John     Palmer, John 0
5208068 2418092 2418092 defendant Talcarn John, sen gent 854276 854276 Talcarn, John, sen, of Cachefrenche, gent 0
5208069 2418092 2418092 defendant Talcarn Thomas gent 854276 854276 Talcarn, Thomas, of Cachefrenche, gent 1
5208070 2418092 2418092 defendant Talcarn Bastard John husbandman 854276 854276 Talcarn Bastard, John, of Cachefrenche, husbandman 2
5208071 2418092 2418092 defendant Pengelly John   854278 854278 Pengelly, John, of St Ierman, holy water clerk 3
5208072 2418092 2418092 defendant Forsse John tailor 606006 606006 Forsse, John, of St Ierman or German, tailor 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 17.635ms