Man pages for pttry/statfitools
Helper Functions for Working with the Data from Statistics Finland

clean_namesMake syntactically valid names and reuturn an object
clean_timesConvert Statfin time variable(s) to numeric or date
clean_times2Convert Statfin time variable to Date.
codes2namesTranslates code columns to name columns
extract_codeExtract a code component
extract_nameExtract only a non-code component
fpCalculate fixed price series
loess_seriesCreate trend using local polynomial regression
make_namesMake syntactically valid names
open_statfi_quiOpen API url in QUI PxWeb
ppCalculate previous years price series
px_code_nameGet code name mapping from pxweb_data
randomize_naImputes NAs by randomization
recover_naRecovers NA-values in data
seasonal_adjEasy and error-resistant wrap-up for seasonal adjustment
sf_get_classDownload statistical classifications from the Statistics...
sf_get_class_keyDownload data.frame of Statistics Finland classification key.
sf_get_ex_municDownload data.frame for abolished municipalities
sf_get_reg_keyDownload a data.frame of key to trasform from kunta to other...
sf_get_reg_keytableGet regional classification table from Statistics Finland
sf_recodeTurns codes to names or vice versa in Statistics Finland...
sf_recode_ex_municReplace codes of abolished municipalities with present codes
sf_test_classTest if classification used is Statistics Finland...
statfi_get_dataGet data from statfi
statfi_parse_qui_urlParse Statfi pxweb qui url from api url
statfi_parse_urlParse Statfi pxweb api url from web url
statfitools-packagestatfitools: Helper Functions for Working with the Data from...
statfi_urlStatfi url
time2yearConvert a time column to year column
url_to_table_codeGet table code from url
pttry/statfitools documentation built on Feb. 2, 2025, 1:50 a.m.