Description Usage Details Value Note Author(s) See Also Examples
datasus.lang
returns the current selected language as a two character code.
1 |
The value returned by this function is set internally by a previous call to datasus.init
. This value is used as a default language for every data access function of this package to define the language of the dataset column headers.
To provide more flexibility, every data access function has a parameter called language
that can be used to override the initial language setting at runtime.
Current supported languages are "pt" (Brazilian Portuguese) and "en" (English).
The default language code as set by a previous call to datasus.init
DATASUS is the name of the Department of Informatics of the Brazilian Unified Health System (SUS) and is resposible for publishing public healthcare data. Besides the DATASUS, the Brazilian National Agency for Supplementary Health (ANS) also uses this file format for its public data. The name DATASUS is also often used to represent the public datasets they provide.
Neither this project, nor its author, has any association with the brazilian government.
Daniela Petruzalek, daniela.petruzalek@gmail.com
1 2 | # Show current default language
datasus.lang()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.