home / cp40x

names

7 rows where case_id = 2352089

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4983813 2352089 2352089 plaintiff Weldon John grocer 585869 585869 Weldon, John, of London, grocer 0
4983814 2352089 2352089 defendant Kyrkeby Thomas weaver 585990 585990 Kyrkeby, Thomas, of Banbury, Oxon, weaver 0
4983815 2352089 2352089 defendant Lyot Robert chapman 830522 830522 Lyot, Robert, of Hilferons, Soms, chapman 1
4983816 2352089 2352089 defendant Norras Robert chapman 619029 619029 Norras, Robert, of Prescote, Lancs, chapman 2
4983817 2352089 2352089 defendant Hode Thomas carrier 696277 696277 Hode, Thomas, of Rygeley, Staffs, carrier 3
4983818 2352089 2352089 defendant Forneby Thomas chapman 609813 609813 Forneby, Thomas, of Hornby, Lancs, chapman 4
4983819 2352089 2352089 defendant Elmonden Thomas fisher 794804 794804 Elmonden, Thomas, of Melton Moubray, Leics, fisher 5

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.565ms