home / cp40x

names

8 rows where place_id = 636852

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3833052 1968261 1968261 plaintiff Knyght William   636852 636852 Knyght, William, of Tyngre 0
3833054 1968262 1968262 plaintiff Knyght William yeoman 636852 636852 Knyght, William, of Tyngre, yeoman 0
3833056 1968263 1968263 plaintiff Knyght William yeoman 636852 636852 Knyght, William, of Tyngre, yeoman 0
3960023 2010605 2010605 defendant Spencer William yeoman 636852 636852 Spencer, William, of Tyngre, yeoman 1
5314037 2449220 2449220 defendant Fermer Thomas husbandman 636852 636852 Fermer, Thomas, of Tyngre, husbandman 1
5314045 2449221 2449221 defendant Parker William tailor 636852 636852 Parker, William, of Tyngre, tailor 3
5314093 2449230 2449230 defendant Parker William tailor 636852 636852 Parker, William, of Tyngre, tailor 2
5314094 2449230 2449230 defendant Parker Thomas laborer 636852 636852 Parker, Thomas, of Tyngre, laborer 3

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 5.903ms