home / cp40x

names

6 rows where place_id = 823456

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4928336 2335286 2335286 defendant Felpottes Mathew yeoman 823456 823456 Felpottes, Mathew, of Luyde, yeoman 3
4953605 2343048 2343048 defendant Pelpottes Mathew husbandman 823456 823456 Pelpottes, Mathew, of Luyde, husbandman 3
5565232 2524417 2524417 defendant Devereux John, junior gent 823456 823456 Devereux, John, junior, of Luyde Prior, gent 0
5565233 2524417 2524417 defendant Bailly John husbandman 823456 823456 Bailly, John, of Luyde Prior, husbandman 1
5595151 2533453 2533453 defendant Devereux John gent 823456 823456 Devereux, John, of Luyde, gent 0
5599099 2534601 2534601 defendant Baylly Thomas husbandman 823456 823456 Baylly, Thomas, of Luyde, husbandman 1

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.495ms