home / cp40x

names

8 rows where case_id = 2407247

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5171009 2407247 2407247 plaintiff Kemmys John esq   Kemmys, John, esq 0
5171010 2407247 2407247 defendant Whiteleder William yeoman 855775 855775 Whiteleder, William, of Manggottesfeld, yeoman 0
5171011 2407247 2407247 defendant Midelton John husbandman 613614 613614 Midelton, John, of Wynterburn, husbandman 1
5171012 2407247 2407247 defendant Priour John husbandman 592193 592193 Priour, John, of Westerley, husbandman 2
5171013 2407247 2407247 defendant Peryman John husbandman 592193 592193 Peryman, John, of Westerley, husbandman 3
5171014 2407247 2407247 defendant Tanner Richard yeoman 855775 855775 Tanner, Richard, of Manggottesfeld, yeoman 4
5171015 2407247 2407247 defendant Smyth Thomas smith 855775 855775 Smyth, Thomas, of Manggottesfeld, smith 5
5171016 2407247 2407247 defendant Smyth William husbandman 855775 855775 Smyth, William, of Manggottesfeld, husbandman 6

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