home / cp40x

names

7 rows where place_id = 617574

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3720222 1932599 1932599 defendant Hyett John weaver 617574 617574 Hyett, John, of Stokeursy, weaver 0
5519239 2510863 2510863 defendant Perce Robert husbandman 617574 617574 Perce, Robert, of Stokeursy, husbandman 1
5527583 2513205 2513205 defendant Pappe Isabel widow 617574 617574 Pappe, Isabel, of Stokeursy, widow 0
5529504 2513729 2513729 defendant Peers Walter husbandman 617574 617574 Peers, Walter, of Stokeursy, husbandman 0
5529505 2513729 2513729 defendant Peers Edith widow 617574 617574 Peers, Edith, of Stokeursy, widow 1
5575737 2527499 2527499 defendant Skore Alexander butcher 617574 617574 Skore, Alexander, of Stokeursy, butcher 0
5575738 2527499 2527499 defendant Avery John, junior butcher 617574 617574 Avery, John, junior, of Stokeursy, butcher 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 14.257ms