home / cp40x

names

5 rows where case_id = 1935862

✎ 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
3730800 1935862 1935862 plaintiff Broy Thomas     Broy, Thomas 0
3730801 1935862 1935862 defendant Wykton John weaver 598935 598935 Wykton, John, of Hawkesbury, weaver 0
3730802 1935862 1935862 defendant Styffe or Stysse John husbandman 619588 619588 Styffe or Stysse, John, of Kylcote, Hawkesbury, husbandman 1
3730803 1935862 1935862 defendant Wollery John weaver 619589 619589 Wollery, John, of Yginston, Hawkesbury, weaver 2
3730804 1935862 1935862 defendant Roche Edmund   619590 619590 Roche, Edmund, of Hyllesley, Hawkesbury 3

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 15.683ms