home / cp40x

names

6 rows where place_id = 700119

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4131959 2071744 2071744 defendant Smershall Nicholas yeoman 700119 700119 Smershall, Nicholas, of Icklesham, yeoman 1
4230447 2106142 2106142 defendant Foster Thomas yeoman 700119 700119 Foster, Thomas, of Icklesham, or of Hailsham, yeoman 0
4296532 2128861 2128861 defendant Midleton Abraham tailor 700119 700119 Midleton, Abraham, of Icklesham, tailor 0
4377096 2156883 2156883 defendant Masters Robert yeoman 700119 700119 Masters, Robert, of Icklesham, yeoman 0
4394755 2162831 2162831 defendant Stone Thomas yeoman 700119 700119 Stone, Thomas, of Icklesham, yeoman 1
4399947 2164572 2164572 defendant Stone Thomas husbandman 700119 700119 Stone, Thomas, of Icklesham, husbandman 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 14.182ms