home / cp40x

names

13 rows where place_id = 789002

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4710887 2268762 2268762 defendant Patonson John yeoman 789002 789002 Patonson, John, of Langholm, yeoman 1
4710889 2268762 2268762 defendant Stokdale William yeoman 789002 789002 Stokdale, William, of Langholm, yeoman 3
4758761 2283096 2283096 defendant Bullok John husbandman 789002 789002 Bullok, John, of Langholm, husbandman 0
4758762 2283096 2283096 defendant Bullok Thomas husbandman 789002 789002 Bullok, Thomas, of Langholm, husbandman 1
4758765 2283096 2283096 defendant Smalehorn William husbandman 789002 789002 Smalehorn, William, of Langholm, husbandman 4
4758770 2283097 2283097 defendant Slawryght John husbandman 789002 789002 Slawryght, John, of Langholm, husbandman 2
4758771 2283097 2283097 defendant Slawryght William husbandman 789002 789002 Slawryght, William, of Langholm, husbandman 3
4777849 2289063 2289063 defendant Slawright John husbandman 789002 789002 Slawright, John, of Langholm, husbandman 0
4777855 2289063 2289063 defendant Slawright William husbandman 789002 789002 Slawright, William, of Langholm, husbandman 6
4777857 2289064 2289064 defendant Smalehorn William husbandman 789002 789002 Smalehorn, William, of Langholm, husbandman 0
4777859 2289064 2289064 defendant Bullok John husbandman 789002 789002 together with Bullok, John, of Langholm, husbandman 2
4777860 2289064 2289064 defendant Bullok Thomas husbandman 789002 789002 Bullok, Thomas, of Langholm, husbandman 3
4896024 2325420 2325420 defendant Bourestede John yeoman 789002 789002 Bourestede, John, of Langholm, yeoman 0

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 14.693ms