home / cp40x

names

6 rows where place_id = 600825

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3642707 1908164 1908164 defendant Hatter John husbandman 600825 600825 Hatter, John, of Langryg, husbandman 1
3902400 1991033 1991033 defendant Dovenby Paul husbandman 600825 600825 Dovenby, Paul, of Langryg, husbandman 0
4735134 2276137 2276137 defendant Enyp William yeoman 600825 600825 Enyp, William, of Langryg, yeoman 0
4813926 2300467 2300467 defendant Osmonderlawe John John yeoman 600825 600825 Osmonderlawe, John John, of Langryg, yeoman 0
4936832 2337900 2337900 defendant Moyser William yeoman 600825 600825 Moyser, William, of Langryg, yeoman 1
4936840 2337900 2337900 defendant Holgyll Robert yeoman 600825 600825 Holgyll, Robert, of Langryg, yeoman 9

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 13.607ms