home / cp40x

names

6 rows where place_id = 633425

✎ 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
3812655 1961849 1961849 defendant Meryfyld Thomas yeoman 633425 633425 Meryfyld, Thomas, of St Collan the Over, yeoman 0
3812656 1961849 1961849 defendant Peryn William yeoman 633425 633425 Peryn, William, of St Collan the Over, yeoman 1
3823321 1965207 1965207 defendant Botyscastell Nicholas laborer 633425 633425 Botyscastell, Nicholas, of St Collan the Over, laborer 1
3823322 1965207 1965207 defendant Plevysy Robert laborer 633425 633425 Plevysy, Robert, of St Collan the Over, laborer 2
3823323 1965207 1965207 defendant Rows John Thomas laborer 633425 633425 Rows, John Thomas, of St Collan the Over, laborer 3
3834407 1968706 1968706 defendant Peryn William yeoman 633425 633425 Peryn, William, of St Collan le Over, yeoman 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 16.026ms