get_fst: Get data from fst extdata

View source: R/get_fst.R

get_fstR Documentation

Get data from fst extdata

Description

Get data from fst extdata

Usage

get_fst(
  dt = c("ADDRESS_DETAIL_ID__by__LATLON", "STREET_ID_vs_ADDRESS_ID",
    "STREET_LOCALITY_ID__STREET_NAME_STREET_TYPE_CODE", "addressB13_west",
    "addressB13_east"),
  cache_env = TRUE
)

Arguments

dt

A string, the data.table to retrieve.

cache_env

(logical, default: TRUE) If FALSE, the result is not saved between occurrences. Possibly beneficial if memory is limited.

Details

Purpose is to provide an API to the fst data in extdata. If the PSMA_env contains dt it is returned; if not, it is retrieved from the fst file, then assigned.

Value

The data.table.


HughParsonage/PSMA documentation built on May 21, 2022, 10:16 p.m.