home / cp40x

names

7 rows where place_id = 621214

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3740219 1938799 1938799 defendant Butrode Thomas yeoman 621214 621214 Butrode, Thomas, of Kirkburton, yeoman 0
3746266 1940741 1940741 defendant Demby William butcher 621214 621214 Demby, William, of Kirkburton, butcher 0
3786870 1953693 1953693 defendant Clayton William chapman 621214 621214 Clayton, William, of Kirkburton, chapman 0
4169922 2084976 2084976 defendant Kay John yeoman 621214 621214 Kay, John, of Kirkburton, yeoman 0
4188329 2091422 2091422 defendant Batley Edmund husbandman 621214 621214 Batley, Edmund, of Kirkburton, husbandman 2
4228578 2105478 2105478 defendant Blackborne Edward husbandman 621214 621214 Blackborne, Edward, of Kirkburton, husbandman 2
4323267 2138199 2138199 defendant Nutter Robert badger 621214 621214 Nutter, Robert, of Kirkburton, badger 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 15.156ms