home / cp40x

names

5 rows where case_id = 2248354

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4657891 2248354 2248354 plaintiff Colyn Alice   588243 588243 Colyn, Alice, of Chepyng Toryton 0
4657892 2248354 2248354 defendant Peyrs John, junior skinner 730909 730909 Peyrs, John, junior, of Okhampton, skinner 0
4657893 2248354 2248354 defendant Taillour Richard husbandman 586265 586265 Taillour, Richard, of Asshebury, husbandman 1
4657894 2248354 2248354 defendant Osmound John, senior glasier 730909 730909 Osmound, John, senior, of Okhampton, glasier 2
4657895 2248354 2248354 defendant Osmound John, junior glasyer 730909 730909 Osmound, John, junior, of Okhampton, glasyer 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 17.028ms