home / cp40x

names

6 rows where case_id = 2317687

✎ 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
4870305 2317687 2317687 plaintiff Lunde Thomas     Lunde, Thomas 0
4870306 2317687 2317687 defendant Ranson or Rauson William husbandman 757641 757641 Ranson or Rauson, William, of Foxholes, husbandman 0
4870307 2317687 2317687 defendant del Hill Roger husbandman 594426 594426 del Hill, Roger, of Benyngton, husbandman 1
4870308 2317687 2317687 defendant Fouler William husbandman 662995 662995 Fouler, William, of Hummanby, husbandman 2
4870309 2317687 2317687 defendant Hobson Thomas yeoman 622701 622701 Hobson, Thomas, of Swaynby, yeoman 3
4870310 2317687 2317687 defendant Bramley Thomas chaplain 815271 815271 Bramley, Thomas, of Folketon, chaplain 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 17.691ms