home / cp40x

names

5 rows where case_id = 2397238

✎ 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
5136637 2397238 2397238 plaintiff Overton William     Overton, William 0
5136638 2397238 2397238 defendant Prykfeld Thomas gent 820330 820330 Prykfeld, Thomas, of Albarkyrk, gent 0
5136639 2397238 2397238 defendant Kynne Thomas yeoman 594818 594818 Kynne, Thomas, of Byker, yeoman 1
5136640 2397238 2397238 defendant Cowykerell Thomas husbanman 587074 587074 Cowykerell, Thomas, of Donyngton by Biker, husbanman 2
5136641 2397238 2397238 defendant Algar William   851380 851380 Algar, William, of Donyngton, salt weller or one who works at a salt well 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 8.027ms