home / cp40x

names

6 rows where case_id = 2324820

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4893983 2324820 2324820 plaintiff Stambourne John     Stambourne, John 0
4893984 2324820 2324820 defendant Heynes John weaver 589669 589669 Heynes, John, of Bathe, Soms, weaver 0
4893985 2324820 2324820 defendant Payne John gent 605372 605372 Payne, John, of Payneswyke, gent 1
4893986 2324820 2324820 defendant Fanse or Fause John yeoman 606987 606987 Fanse or Fause, John, of Tortworth, yeoman 2
4893987 2324820 2324820 defendant Cokkes John husbandman 589773 589773 Cokkes, John, of Wodeford, husbandman 3
4893988 2324820 2324820 defendant atte Walle John husbandman 586011 586011 atte Walle, John, of Northwyk, husbandman 4

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