home / cp40x

names

8 rows where case_id = 2451634

✎ 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
5321949 2451634 2451634 plaintiff Marcoll James     Marcoll, James 0
5321950 2451634 2451634 defendant Maynard Richard husbandman 593512 593512 Maynard, Richard, of Kempston, husbandman 0
5321951 2451634 2451634 defendant Sandon Simon husbandman 593512 593512 Sandon, Simon, of Kempston, husbandman 1
5321952 2451634 2451634 defendant Hyne or Hyve John butcher 873176 873176 Hyne or Hyve, John, of Elnystowe, butcher 2
5321953 2451634 2451634 defendant Wyse William husbandman 593512 593512 Wyse, William, of Kempston, husbandman 3
5321954 2451634 2451634 defendant Glover William husbandman 593512 593512 Glover, William, of Kempston, husbandman 4
5321955 2451634 2451634 defendant Abbot Henry husbandman 593512 593512 Abbot, Henry, of Kempston, husbandman 5
5321956 2451634 2451634 defendant Gonell or Govell Richard husbandman 593512 593512 Gonell or Govell, Richard, of Kempston, 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.563ms