View source: R/ofs_px_translate.R
ofsPx_wrangle | R Documentation |
A highlevel wrapper that translates the column names and values from German to French. It can also fetch OFS' internal code identifiers (useful for mapping). It assumes the provided data follows a well defined structure and that it is in German
ofsPx_wrangle(px.file, langout = "fr", attachCode = "", ...)
px.file |
a string, the path to an OFS px file |
langout |
a string, the output language. Has to be one of fr, it, en |
attachCode |
a vector of strings, the column names (in the output language) for which to add the code identifiers |
... |
Additional arguments passed to pxR::read.px(). encoding is especially useful |
BFS-STAT TAB px data cubes https://www.pxweb.bfs.admin.ch/pxweb/fr/?rxid=e8ebe1b6-5756-49f0-8bfb-9eaa1cf758b2
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.