home / cp40x

names

7 rows where place_id = 817065

✎ 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
4883904 2321876 2321876 defendant Bradley John yeoman 817065 817065 Bradley, John, of Bysshop Wylton, yeoman 0
4965806 2346703 2346703 defendant Lytster Richard husbandman 817065 817065 Lytster, Richard, of Bysshop Wylton, husbandman 3
5050938 2371894 2371894 defendant Johnson William   817065 817065 Johnson, William, of Bysshop Wylton, parish clerk 2
5054101 2372821 2372821 defendant Touse or Tonse John husbandman 817065 817065 Touse or Tonse, John, of Bysshop Wylton, husbandman 0
5490157 2501938 2501938 defendant Wryght John husbandman 817065 817065 Wryght, John, of Bysshop Wylton, husbandman 0
5490158 2501938 2501938 defendant Wryght Robert laborer 817065 817065 Wryght, Robert, of Bysshop Wylton, laborer 1
5517844 2510421 2510421 defendant Rychardson John draper 817065 817065 Rychardson, John, of Bysshop Wylton, draper 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 6.803ms