home / cp40x

names

6 rows where case_id = 2384053

✎ 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
5092052 2384053 2384053 plaintiff Oldey John     Oldey, John 0
5092053 2384053 2384053 defendant Shipper John   759704 759704 Shipper, John, of Glastyngbury, groom 0
5092054 2384053 2384053 defendant Nicoll John butcher 766925 766925 Nicoll, John, of Honespill, butcher 1
5092055 2384053 2384053 defendant Donne or Doune William fisher 586299 586299 Donne or Doune, William, of Barowe, fisher 2
5092056 2384053 2384053 defendant Swayne John fisher 586299 586299 Swayne, John, of Barowe, fisher 3
5092057 2384053 2384053 defendant Curte John   759704 759704 Curte, John, of Glastyngbury 4

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.256ms