home / cp40x

names

6 rows where place_id = 665017

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3975194 2015889 2015889 defendant Lygon John gent 665017 665017 Lygon, John, of Powicke, gent 0
4143128 2075767 2075767 defendant Collwicke John yeoman 665017 665017 Collwicke, John, of Powicke, yeoman 0
4248558 2112505 2112505 defendant Wesburie William husbandman 665017 665017 Wesburie, William, of Powicke, husbandman 1
4309098 2133338 2133338 defendant More John yeoman 665017 665017 More, John, of Powicke, yeoman 0
4309100 2133339 2133339 defendant Savage James yeoman 665017 665017 Savage, James, of Powicke, yeoman 0
4374825 2156050 2156050 defendant Higges Richard husbandman 665017 665017 Higges, Richard, of Powicke, husbandman 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 11.822ms