home / cp40x

names

8 rows where case_id = 1870697

✎ 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
3609672 1870697 1870697 plaintiff Glyn John     Glyn, John 0
3609673 1870697 1870697 defendant Gydelegh John tailor 592968 592968 Gydelegh, John, of Pleyton, tailor 0
3609674 1870697 1870697 defendant Rovell or Ronell John butcher 592969 592969 Rovell or Ronell, John, of Nether Wryngwothy, butcher 1
3609675 1870697 1870697 defendant Rovell or Ronell Walter laborer 592969 592969 Rovell or Ronell, Walter, of Nether Wryngwothy, laborer 2
3609676 1870697 1870697 defendant Josepp John husbandman 592968 592968 Josepp, John, of Pleyton, husbandman 3
3609677 1870697 1870697 defendant Gawyn William fisher 592970 592970 Gawyn, William, of Porpera, fisher 4
3609678 1870697 1870697 defendant Hykke Reginald laborer 592971 592971 Hykke, Reginald, of Tallan, laborer 5
3609679 1870697 1870697 defendant Gydelegh Margaret widow 592972 592972 Gydelegh, Margaret, of Mornall, widow 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.981ms