Man pages for pxmake
Make PX-Files in R

add_cell_to_keywordAdd cell name to keywords that support it (see...
add_excel_sheetAdd a data frame as a sheet to an Excel workbook
add_language_to_keywordAdd language, other than the main langue, to keyword
add_main_languageAdd boolean main_language column
add_sub_key_to_keywordAdd a sub key word (see px-specification for details on sub...
add_total_level_to_varAdd total level to variable
add_totals_to_dfAdd total levels to multiple variables
age_classificationAge classification
aggregation_dfGet data set from aggregation file
align_data_framesAlign data frames
break_long_linesSplit long strings at commas
change_pivot_variablesChange pivot variables
classification_file_section_heading_regexpRegexp that matches a classification file section heading
convert_df_to_codeCreate code to construct data frame
convert_value_to_codeCreate constructing code
create_dummy_tibblesCreate a tibble with dummy values
defined_languagesGet languages used in px object
drop_blank_rowsDrop rows with only NA values
enumerate_linesAdd lines numbers
errorThrow error
error_if_agument_is_not_character_stringThrow error if argument is not a character string
extract_sectionGet section in .vs or .agg file
fix_pxFix some common issues in px objects
format_data_dfFormat df for px format
format_px_object_as_linesGet lines for PX-file from px object
format_time_valuesFormat time values for PX-file
get_data_cubeGet data cube used in PX-file format
get_default_encodingDefault encoding to read and save PX-file in
get_encoding_from_px_fileGet encoding listed in PX-file
get_excel_sheetGet specific sheet from Excel workbook
get_figures_variable_from_excelGet figures variable from Excel workbook
get_main_languageGet the main language from metadata
get_mandatory_variablesA list of which variables should be in each sheet
get_metadata_df_from_pxGet metadata df from px object
get_metadata_df_from_px_linesGet metadata df from px lines
get_pivot_variablesGet names of pivot variables
get_px_metadata_regexRegular expression to parse header in PX-file
get_sectionReturn lines in section
get_timeval_type_from_valuesGet time scale code from values (see TIMEVAL in...
get_values_from_time_formatGet time values from formatted string
get_variable_labelGet variable code and label
greenlandersGreenlanders
guess_file_encodingGuess encoding of file
is_path_extensionCheck if a path has a specific extension (function factory)
lst_distinct_and_arrangeGet a sorted list of distinct values in list
merge_named_listsPut two named lists together, remove duplicates and sort
modify_languages_in_pxChange language in px object
modify_languages_in_tableChange language in table
modify_or_add_rowAdd or modify value
mutate_all_vars_to_characterChange all variables to character
new_classificationCreate new classification object
new_pxCreate new px object
population_glPopulation Greenland
pxCreate a px object
px_add_totals.pxAdd total levels to variables
px_aggregallowed.pxAGGREGALLOWED
px_autopen.pxAUTOPEN
px_axis_version.pxAXIS-VERSION
px_baseperiod.pxBASEPERIOD
px_cellnote.pxCELLNOTE
px_cellnotex.pxCELLNOTEX
px_cfprices.pxCFPRICES
px_charset.pxCHARSET
px_classificationCreate a classification object
px_classification_from_dfpx classification from data frame
px_classification_from_pathpx classification from path
px_codepage.pxCODEPAGE
px_confidential.pxCONFIDENTIAL
px_contact.pxCONTACT
px_contents.pxCONTENTS
px_contvariable.pxCONTVARIABLE
px_copyright.pxCOPYRIGHT
px_creation_date.pxCREATION-DATE
px_data.pxDATA
px_decimals.pxDECIMALS
px_descriptiondefault.pxDESCRIPTIONDEFAULT
px_description.pxDESCRIPTION
px_domain.pxDOMAIN
px_elimination.pxELIMINATION
px_figures.pxChange figures variable
px_from_data_dfCreate a minimal px object from a data frame
px_from_excelCreate a px object from an Excel workbook
px_from_px_fileCreate a px object form a PX-file
px_heading.pxHEADING
px_infofile.pxINFOFILE
px_keywordspx keywords
px_language.pxLANGUAGE
px_languages.pxLANGUAGES
px_last_updated.pxLAST-UPDATED
px_link.pxLINK
pxmake-packagepxmake: Make PX-Files in R
px_map.pxMAP
px_matrix.pxMATRIX
px_microCreate micro PX-files
px_next_update.pxNEXT-UPDATE
px_note.pxNOTE
px_notex.pxNOTEX
px_order.pxChange value order
px_precision.pxPRECISION
px_saveSave px object to file
px_save_classificationSave classification as .vs and .agg files
px_showdecimals.pxSHOWDECIMALS
px_source.pxSOURCE
px_stockfa.pxSTOCKFA
px_stub.pxSTUB
px_subject_area.pxSUBJECT-AREA
px_subject_code.pxSUBJECT-CODE
px_tableid.pxTABLEID
px_timeval.pxTIMEVAL
px_title.pxTITLE
px_units.pxUNITS
px_update_frequency.pxUPDATE-FREQUENCY
px_validateCheck px object
px_valuenote.pxVALUENOTE
px_valuenotex.pxVALUENOTEX
px_values.pxVALUES
px_variable_label.pxChange VARIABLE-LABEL
px_variable_type.pxVARIABLE-TYPE
quote_unless_yes_noAdd quotes around unless in some very specific cases required...
readLines_guess_encodingRead lines from file with guessed encoding
readLines_with_encodingRead lines with specific encoding
read_px_fileGet PX-file content as lines
replace_na_language_with_main_languageImpute missing language
return_pxReturn px object
save_px_as_px_fileSave px object to PX-file
save_px_as_r_scriptSave px object as an R script
save_px_as_xlsxSave px object as an Excel workbook
section_intervalGet index of first and last line of section
smallest_larger_valueSmallest larger value
sort_metadata_dfSort metadata data frame
str_quoteAdd quotes around string
temp_dirCreate and return path to temporary directory
temp_file_with_extensionCreate temporary file
validate_px_argumentsCheck all arguments to px()
validate_px_classification_argumentsCheck all arguments to px_classification
validate_px_micro_argumentsCheck all arguments to px_micro()
validate_px_save_argumentsCheck all arguments to px_save()
wrap_varaible_in_listConvert a variable to a list
write_aggregationSave classification as .agg file
write_value_setSave classification as .vs file
zip_vectorsZips list
pxmake documentation built on April 11, 2025, 6:06 p.m.