Description Usage Arguments Details Value Examples
Read data from the Coyuntura module, indicating the variables, periods, zone and frequency.
1 2 | leerCoyuntura(variables = NULL, periodos = NULL,
nivel="COMUNIDAD AUTONOMA",zonas=NULL, frecuencia = "TRIMESTRE")
|
variables |
The names of the variables for read. |
periodos |
The periods for the data. If the frequency is for years they are the numbers of the years, if it is quarterly the format is N<ba> TRIM. YYYY, N is the quarter and YYYY the year. If the frequency is monthly the format is MM-YYYY with MM being the month number, always with two digits: 01, 02, ..., 12. |
nivel |
The level of disaggregation : PROVINCIA or COMUNIDAD AUTONOMA |
zonas |
A vector with the provinces if nivel is "PROVINCIA" or "CASTILLA y LEON" y/o "ESPA<d1>A" if nivel is "COMUNIDAD AUTONOMA" |
frecuencia |
The frequency of the data: YEAR (A<d1>O), QUARTER (TRIMESTRE) or MONTH (MES) |
If variables, periodos or zonas are NULL the data obtained are all available without considering the relevant condition.
A data.frame with the data. If there is an error return NULLL. The data.frame with 5 columns. The columns are: ZONA: the name of province or comunidad. SERIE: The name of the variable. UNIDAD DE MEDIDA: The units of variable. ANNO or TRIMESTRE or MES : The period of the data. Valor: The data.
1 2 3 4 | ##-Examples
datos=leerCoyuntura(nivel="PROVINCIA",periodos="1<ba> TRIM. 2017")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.