home / cp40x

names

7 rows where case_id = 2411019

✎ 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
5183858 2411019 2411019 plaintiff Delamare William     Delamare, William 0
5183859 2411019 2411019 defendant Jakeman Thomas husbandman 857029 857029 Jakeman, Thomas, of Hardwyk in Elsfeld, husbandman 0
5183860 2411019 2411019 defendant Jakeman William yeoman 857029 857029 Jakeman, William, of Hardwyk in Elsfeld, yeoman 1
5183861 2411019 2411019 defendant Hakeman John yeoman 857029 857029 Hakeman, John, of Hardwyk in Elsfeld, yeoman 2
5183862 2411019 2411019 defendant Kent William husbandman 607734 607734 Kent, William, of Elsfeld, husbandman 3
5183863 2411019 2411019 defendant Kent John husbandman 607734 607734 Kent, John, of Elsfeld, husbandman 4
5183864 2411019 2411019 defendant Gryme John   857030 857030 Gryme, John, of Wykerygge, Gloucs 5

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.586ms