home / cp40x

names

7 rows where place_id = 607673

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3670283 1916653 1916653 defendant Dighton Richard weaver 607673 607673 Dighton, Richard, of Apthorp, weaver 0
3717443 1931739 1931739 defendant Watkynson John yeoman 607673 607673 Watkynson, John, of Apthorp, yeoman 1
3765400 1946840 1946840 defendant Hylton John yeoman 607673 607673 Hylton, John, of Apthorp, yeoman 0
4557411 2218257 2218257 defendant Bayard Thomas   607673 607673 Bayard, Thomas, of Apthorp 0
4557412 2218257 2218257 defendant Rouland Thomas   607673 607673 Rouland, Thomas, of Apthorp 1
4704778 2266872 2266872 defendant West John, sen husbandman 607673 607673 West, John, sen, of Apthorp, husbandman 1
4704779 2266872 2266872 defendant West William husbandman 607673 607673 West, William, of Apthorp, husbandman 2

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