home / cp40x

names

8 rows where case_id = 2494200

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5464198 2494200 2494200 plaintiff Stretehay John, sen     Stretehay, John, sen 0
5464199 2494200 2494200 defendant Curson Thomas esq 887475 887475 Curson, Thomas, of Croksale, Derbs, esq 0
5464200 2494200 2494200 defendant Curson Ralph gent 890282 890282 Curson, Ralph, of Allwewas, Staffs, gent 1
5464201 2494200 2494200 defendant Curson Walter yeoman 620135 620135 Curson, Walter, of Allerwas, yeoman 2
5464202 2494200 2494200 defendant Ynte John gent 887476 887476 Ynte, John, of Kynges Neuton, Leics, gent 3
5464203 2494200 2494200 defendant Ynte Alice     Alice, his wife 4
5464204 2494200 2494200 defendant Lee William husbandman 890283 890283 Lee, William, of Stretesly, Staffs, husbandman 5
5464205 2494200 2494200 defendant Lee Henry laborer 590962 590962 Lee, Henry, of Lichefeld, Staffs, laborer 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 11.06ms