home / cp40x

names

6 rows where case_id = 2290100

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4781108 2290100 2290100 plaintiff Cayrons or Cayrous John     Cayrons or Cayrous, John 0
4781109 2290100 2290100 defendant Crakall John yeoman 792370 792370 Crakall, John, of Stirkeland Ketyll, yeoman 0
4781110 2290100 2290100 defendant Sengleton John husbandman 780977 780977 Sengleton, John, of Hay, husbandman 1
4781111 2290100 2290100 defendant Eskeryg William husbandman 780977 780977 Eskeryg, William, of Hay, husbandman 2
4781112 2290100 2290100 defendant Diconson William husbandman 780977 780977 Diconson, William, of Hay, husbandman 3
4781113 2290100 2290100 defendant Walker John husbandman 780977 780977 Walker, John, of Hay, 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 15.377ms