home / cp40x

names

6 rows where place_id = 662984

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3967027 2013092 2013092 defendant Smyth William yeoman 662984 662984 (Smyth, William, of Lacock, Wilts, yeoman 1
4004022 2026212 2026212 defendant Sharyngton Henry   662984 662984 Sharyngton, Henry, of Lacock, Wilts, esq, brother of William Sharington, esq, groom of Queen's privy chamber 0
4137522 2073771 2073771 defendant Band or Baud Thomas carpenter 662984 662984 Band or Baud, Thomas, of Lacock, Wilts, carpenter 0
4316732 2135968 2135968 defendant Thornell Roger yeoman 662984 662984 Thornell, Roger, of Lacock, Wilts, yeoman 3
4340847 2144071 2144071 defendant Billett Anthony chapman 662984 662984 Billett, Anthony, of Lacock, Wilts, chapman 0
4746988 2279622 2279622 defendant Montfort Helen   662984 662984 Montfort, Helen, of Lacock, Wilts, abbess 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 13.37ms