home / cp40x

names

7 rows where case_id = 2511432

✎ 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
5521153 2511432 2511432 plaintiff Chancy William     Chancy, William 0
5521154 2511432 2511432 defendant Wilkes Robert husbandman 621824 621824 Wilkes, Robert, of Manyngford Brewes, husbandman 0
5521155 2511432 2511432 defendant Woderouf John husbandman 621824 621824 Woderouf, John, of Manyngford Brewes, husbandman 1
5521156 2511432 2511432 defendant Woudrouf William husbandman 621824 621824 Woudrouf, William, of Manyngford Brewes, husbandman 2
5521157 2511432 2511432 defendant Mundy Thomas husbandman 895980 895980 Mundy, Thomas, of Manyngford Boundes, husbandman 3
5521158 2511432 2511432 defendant Smyth William husbandman 621824 621824 Smyth, William, of Manyngford Brewes, husbandman 4
5521159 2511432 2511432 defendant Flewelyn John yeoman 613353 613353 Flewelyn, John, of Tetbury, Glos, yeoman 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 18.023ms