home / cp40x

names

8 rows where case_id = 2047526

✎ 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
4064344 2047526 2047526 plaintiff Grylles William     Grylles, William 0
4064345 2047526 2047526 defendant Kyllyewe William gent 639293 639293 Kyllyewe, William, of Tamerton, Cornw, gent 0
4064346 2047526 2047526 defendant Rocher Thomas gent 685862 685862 Rocher, Thomas, of Landite or Laudite, Cornw, gent 1
4064347 2047526 2047526 defendant Bate James clerk 596484 596484 Bate, James, of Kylkehampton, Cornw, clerk 2
4064348 2047526 2047526 defendant Budge Richard husbandman 685863 685863 Budge, Richard, of St Ive, Cornw, husbandman 3
4064349 2047526 2047526 defendant Pelle John husbandman 618649 618649 Pelle, John, of Cardynham, Cornw, husbandman 4
4064350 2047526 2047526 defendant Blackedon John tailor 620139 620139 Blackedon, John, of Clawton, Devon, tailor 5
4064351 2047526 2047526 defendant Netherton Richard husbandman 640916 640916 Netherton, Richard, of Marhamchurche, Cornw, 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 14.459ms