home / cp40x

names

6 rows where case_id = 2507332

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5507783 2507332 2507332 plaintiff Damett William yeoman 601813 601813 Damett, William, of Upwell, Cams, yeoman 0
5507784 2507332 2507332 defendant Russhell Thomas husbandman 679629 679629 Russhell, Thomas, of Stragett, husbandman 0
5507785 2507332 2507332 defendant Davy Thomas husbandman 587227 587227 Davy, Thomas, of Upwell, husbandman 1
5507786 2507332 2507332 defendant Williamson Andrew husbandman 587227 587227 Williamson, Andrew, of Upwell, husbandman 2
5507787 2507332 2507332 defendant Powediche John husbandman 587227 587227 Powediche, John, of Upwell, husbandman 3
5507788 2507332 2507332 defendant Stragett William husbandman 592089 592089 Stragett, William, of Shuldeham, husbandman 4

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