home / cp40x

names

7 rows where place_id = 765827

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4464291 2189495 2189495 defendant Irland Richard   765827 765827 Irland, Richard, of Emyldon, vicar 2
4521336 2207017 2207017 defendant Herdwyk John   765827 765827 Herdwyk, John, of Emyldon 0
4966212 2346827 2346827 defendant Jacson Thomas yeoman 765827 765827 Jacson, Thomas, of Emyldon, yeoman 0
5110845 2389568 2389568 defendant Jonson Thomas husbandman 765827 765827 Jonson, Thomas, of Emyldon, husbandman 7
5110846 2389568 2389568 defendant Mander or Mauder William husbandman 765827 765827 Mander or Mauder, William, of Emyldon, husbandman 8
5110847 2389568 2389568 defendant Bowe John husbandman 765827 765827 Bowe, John, of Emyldon, husbandman 9
5191613 2413288 2413288 defendant Nicolson William yeoman 765827 765827 Nicolson, William, of Emyldon, yeoman 2

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 13.887ms