home / cp40x

names

8 rows where place_id = 702504

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4075145 2051414 2051414 defendant Staunton Francis   702504 702504 Staunton, Francis, of Marston, Beds, tallow chandler 3
4143155 2075777 2075777 defendant Stoughton Roger butcher 702504 702504 Stoughton, Roger, of Marston, Beds, butcher 0
4143157 2075778 2075778 defendant Stoughton Roger butcher 702504 702504 Stoughton, Roger, of Marston, Beds, butcher 0
4203627 2096824 2096824 defendant Dudley Roger gent 702504 702504 Dudley, Roger, of Marston, Beds, gent 2
4308851 2133244 2133244 defendant Grenewood Christopher yeoman 702504 702504 Grenewood, Christopher, of Marston, Beds, yeoman 1
4339241 2143488 2143488 defendant Clarke John yeoman or gent 702504 702504 Clarke, John, of Marston, Beds, yeoman or gent 0
5084351 2381830 2381830 defendant Smyth John yeoman 702504 702504 Smyth, John, of Marston, Beds, yeoman 4
5084365 2381832 2381832 defendant Smyth John yeoman 702504 702504 Smyth, John, of Marston, Beds, yeoman 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.422ms