home / cp40x

names

8 rows where case_id = 2247941

✎ 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
4656538 2247941 2247941 plaintiff (not given)   abbot of Cerne Abbey   Cerne Abbey, abbot of 0
4656539 2247941 2247941 defendant Metford John tucker 672834 672834 Metford, John, of Cerne Abbas, tucker 0
4656540 2247941 2247941 defendant Monke Adam carpenter 672834 672834 Monke, Adam, of Cerne Abbas, carpenter 1
4656541 2247941 2247941 defendant Skynner Thomas skinner 672834 672834 Skynner, Thomas, of Cerne Abbas, skinner 2
4656542 2247941 2247941 defendant Maynard John smith 672834 672834 Maynard, John, of Cerne Abbas, smith 3
4656543 2247941 2247941 defendant Goulde John tailor 672834 672834 Goulde, John, of Cerne Abbas, tailor 4
4656544 2247941 2247941 defendant Felpot John tanner 672834 672834 Felpot, John, of Cerne Abbas, tanner 5
4656545 2247941 2247941 defendant Golderne John butcher 672834 672834 Golderne, John, of Cerne Abbas, butcher 6

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