home / cp40x

names

6 rows where place_id = 589552

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3597953 1866983 1866983 defendant Heyward William cordwainer 589552 589552 Heyward, William, of Herefordstok, cordwainer 0
4714741 2269940 2269940 defendant Voull John tanner 589552 589552 Voull, John, of Herefordstok, tanner 0
4975714 2349698 2349698 defendant Galyon William yeoman 589552 589552 Galyon, William, of Herefordstok, yeoman 2
5023853 2363888 2363888 defendant Galyon John butcher 589552 589552 Galyon, John, of Herefordstok, butcher 3
5033421 2366656 2366656 defendant Galyon William butcher 589552 589552 Galyon, William, of Herefordstok, butcher 0
5079580 2380382 2380382 defendant Bernard John woolman 589552 589552 Bernard, John, of Herefordstok, woolman 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 15.275ms