home / cp40x

names

6 rows where place_id = 622491

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3747272 1941068 1941068 defendant Hayne Thomas clothmaker 622491 622491 Hayne, Thomas, of Trobrygge, clothmaker 0
3768296 1947726 1947726 defendant Lovell William clothier 622491 622491 Lovell, William, of Trobrygge, clothier 0
4804875 2297727 2297727 defendant Bocher John butcher 622491 622491 Bocher, John, of Trobrygge, butcher 2
4862084 2315151 2315151 defendant Gay Edward husbandman 622491 622491 Gay, Edward, of Trobrygge, husbandman 0
5277447 2438483 2438483 defendant Frenshe John esq 622491 622491 Frenshe, John, of Trobrygge, esq 0
5544103 2518266 2518266 defendant Reynold William merchant 622491 622491 Reynold, William, of Trobrygge, merchant 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.306ms