home / cp40x

names

6 rows where case_id = 2489688

✎ 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
5449323 2489688 2489688 plaintiff Morell John     Morell, John 0
5449324 2489688 2489688 defendant Federye Thomas   888734 888734 Federye, Thomas, of Bevyngdon 0
5449325 2489688 2489688 defendant Herryes Alexander husbandman 887042 887042 Herryes, Alexander, of Sulbery or Soulbury, Bucks, husbandman 1
5449326 2489688 2489688 defendant Braynton Thomas tailor 888735 888735 Braynton, Thomas, of Leghton Buzzard, tailor 2
5449327 2489688 2489688 defendant Graunt John husbandman 586409 586409 Graunt, John, of Dunstable, husbandman 3
5449328 2489688 2489688 defendant Banastr Lawrence clerk 753166 753166 Banastr, Lawrence, of Hertfordshire, clerk 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 12.308ms