home / cp40x

names

5 rows where place_id = 601745

✎ 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
3646824 1909410 1909410 defendant Maye Thomas husbandman 601745 601745 Maye, Thomas, of Bromehill, husbandman 4
3672493 1917399 1917399 defendant Tailler John yeoman 601745 601745 Tailler, John, of Bromehill, yeoman 0
3683274 1920890 1920890 defendant Wytton John husbandman 601745 601745 Wytton, John, of Bromehill, husbandman 3
4687860 2261768 2261768 defendant Dene Wiilliam husbandman 601745 601745 Dene, Wiilliam, of Bromehill, husbandman 0
5632715 2554247 2554247 defendant Dene William husbandman 601745 601745 Dene, William, of Bromehill, 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 16.577ms