home / cp40x

names

5 rows where case_id = 2154261

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4369818 2154261 2154261 plaintiff Jackson William     Jackson, William 0
4369819 2154261 2154261 defendant Richardson Christopher husbandman 746034 746034 Richardson, Christopher, of Biggins, husbandman 0
4369820 2154261 2154261 defendant Pearson Philip husbandman 734843 734843 Pearson, Philip, of Casterton, husbandman 1
4369821 2154261 2154261 defendant Smyth William yeoman 746035 746035 Smyth, William, of of Kirkbye Lonesdall, yeoman 2
4369822 2154261 2154261 defendant Langrigge Nicholas husbandman 649773 649773 Langrigge, Nicholas, of Lupton, husbandman 3

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