home / cp40x

names

6 rows where case_id = 2431624

✎ 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
5254820 2431624 2431624 plaintiff Chapman John     Chapman, John 0
5254821 2431624 2431624 defendant Laurens William husbandman 595307 595307 Laurens, William, of Beauchamp Otton, husbandman 0
5254822 2431624 2431624 defendant Albon Richard husbandman 620234 620234 Albon, Richard, of Beauchamp, husbandman 1
5254823 2431624 2431624 defendant Wyth Richard husbandman 864729 864729 Wyth, Richard, of Gestyngthorpe, husbandman 2
5254824 2431624 2431624 defendant Stoure John husbandman 864730 864730 Stoure, John, of Sudbury between bridges, husbandman 3
5254825 2431624 2431624 defendant Lansell or Lausell John sawyer 608690 608690 Lansell or Lausell, John, of Wykham St Paul, sawyer 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 15.337ms