home / cp40x

names

6 rows where case_id = 2440896

✎ 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
5285913 2440896 2440896 plaintiff Hatfeld Richard     Hatfeld, Richard 0
5285914 2440896 2440896 plaintiff Swete John     Swete, John 1
5285915 2440896 2440896 plaintiff Swete Margaret     Swete, Margaret 2
5285916 2440896 2440896 defendant Hemerford John gent 638396 638396 Hemerford, John, of Est Coker, gent 0
5285917 2440896 2440896 defendant Hunteley John gent 868726 868726 Hunteley, John, of Netheratbare, gent 1
5285918 2440896 2440896 defendant Lucok William yeoman 868726 868726 Lucok, William, of Netheratbare, yeoman 2

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 18.391ms