home / cp40x

names

6 rows where case_id = 2255350

✎ 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
4666824 2255350 2255350 plaintiff Alanby Robert     Alanby, Robert 0
4666825 2255350 2255350 defendant Jonson Wilalim yeoman 598688 598688 Jonson, Wilalim, of Unthank, yeoman 0
4666826 2255350 2255350 defendant Rawelyn John husbandman 762229 762229 with Rawelyn, John, of Blencowe, husbandman 1
4666827 2255350 2255350 defendant Loweson John, junior yeoman 595423 595423 Loweson, John, junior, of Skelton, yeoman 2
4666828 2255350 2255350 defendant Lamanby John de yeoman 760354 760354 Lamanby, John de, of Alanby, yeoman 3
4666829 2255350 2255350 defendant Tomson John yeoman 595423 595423 Tomson, John, of Skelton, yeoman 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 12.467ms