home / cp40x

names

6 rows where case_id = 2466299

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5370295 2466299 2466299 plaintiff Glyn Thomas     Glyn, Thomas 0
5370296 2466299 2466299 defendant Trenhall Richard, senior husbandman 846056 846056 Trenhall, Richard, senior, of St Newelyn, husbandman 0
5370297 2466299 2466299 defendant Trenhall Richard, junior husbandman 846056 846056 Trenhall, Richard, junior, of St Newelyn, husbandman 1
5370298 2466299 2466299 defendant Boyn John husbandman 878925 878925 Boyn, John, of Porthloo, husbandman 2
5370299 2466299 2466299 defendant Talcarn Robert gent 851399 851399 Talcarn, Robert, of Cachefrenshe, gent 3
5370300 2466299 2466299 defendant Trouson Peter husbandman 599163 599163 Trouson, Peter, of St Austell, 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 17.037ms