tts_list: Import list of read-only Translation Tables as ipums-metadata...

Description Usage Arguments Author(s)

View source: R/tts_list.R

Description

Imports a batch of PMA Translation Tables as a list object, where each item in the list contains a Python object returned by the ipums-metadata TranslationTable class (with all class methods attached as functions).

This function is designed for use with tasks requiring fast queries delivered to a large number of Translation Tables (e.g. tagging Data Dictionaries with the function dd_tagging). If the user wishes to import just one Translation Table by name, use of this function is not recommended. Instead, they are recommended to use a function like tt_get or py$TranslationTable().

Usage

1
tts_list(unit, mod_since)

Arguments

unit

Optional character: "hhf", "sdp", "mnh", "nut_hhf", or "nut_sdp". The function will only import Translation Tables found in unit-associated variables folders (in addition to the common folder, and to the person and sdp folders if "nut_hhf" or "nut_sdp" is selected). If no unit is specified, the function will list all PMA Translation Tables.

mod_since

Optional: If a date is specified ("yyyy-mm-dd"), the function will only import Translation Tables modified after that date (vastly improving speed of import).

Author(s)

Matt Gunther


mgunther87/ipumsPMA documentation built on Aug. 1, 2020, 12:22 a.m.