home / cp40x

names

8 rows where case_id = 2320319

✎ 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
4878846 2320319 2320319 plaintiff Tod- William   587015 587015 Tod-, William, of St Albans, administrators of 0
4878847 2320319 2320319 plaintiff Mordon John     (Mordon, John 1
4878848 2320319 2320319 plaintiff Wagstaf John     Wagstaf, John 2
4878849 2320319 2320319 defendant Vessy John yeoman 587015 587015 Vessy, John, of St Albans, yeoman 0
4878850 2320319 2320319 defendant Thornton William yeoman 587015 587015 Thornton, William, of St Albans, yeoman 1
4878851 2320319 2320319 defendant Brekendon John tanner 587015 587015 Brekendon, John, of St Albans, tanner 2
4878852 2320319 2320319 defendant Bygge John   586052 586052 Bygge, John, of Bishops Hatfeld, franklin 3
4878853 2320319 2320319 defendant Janyn William ostler 587015 587015 Janyn, William, of St Albans, ostler 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 7.65ms