home / cp40x

names

8 rows where case_id = 2518528

✎ 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
5544947 2518528 2518528 plaintiff Shemyng Thomas     Shemyng, Thomas 0
5544948 2518528 2518528 defendant Riche Thomas husbandman 589479 589479 Riche, Thomas, of Chetham, husbandman 0
5544949 2518528 2518528 defendant Yonge William husbandman 594789 594789 Yonge, William, of Frennesbury, husbandman 1
5544950 2518528 2518528 defendant Rose or Pose John husbandman 589301 589301 Rose or Pose, John, of Gillyngham, husbandman 2
5544951 2518528 2518528 defendant Pylton Richard carpenter 587134 587134 Pylton, Richard, of Hallyng, carpenter 3
5544952 2518528 2518528 defendant Sayer William weaver 589301 589301 Sayer, William, of Gillyngham, weaver 4
5544953 2518528 2518528 defendant Pryk William husbandman 594789 594789 Pryk, William, of Frennesbury, husbandman 5
5544954 2518528 2518528 defendant Lorkyn John husbandman 898467 898467 Lorkyn, John, of Chetham Strete, 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 15.094ms