Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/open_spending.ds.R
Extract and analyze the input data provided from Open Spending API of OpenBudgets.eu, using the ds.analysis function.
1 2 3 |
json_data |
The json string, URL or file from Open Spending API |
dimensions |
The dimensions of the input data |
amounts |
The measures of the input data |
measured.dimensions |
The dimensions to which correspond amount/numeric variables |
coef.outl |
Determines the length of the "whiskers" plot. If it is equal to zero no outliers will be returned. |
box.outliers |
If TRUE the outliers will be computed at the selected "coef.outl" level (default is 1.5 times the Interquartile Range). |
box.wdth |
The width level is determined 0.15 times the square root of the size of the input data. |
cor.method |
The correlation coefficient method to compute: "pearson" (default), "kendall" or "spearman". |
freq.select |
One or more nominal variables to calculate their corresponding frequencies. |
This function is used to read data in json format from Open Spending and Rudolf APIs., in order to implement
some basic descriptive tasks through ds.analysis
function.
A json string with the resulted parameters of the ds.analysis
function.
Kleanthis Koupidis
1 2 3 4 5 | # OpenBudgets.eu Dataset Example:
# open_spending.ds(json_data = Wuppertal_openspending,
# dimensions ="functional_classification_3.Produktgruppe|date_2.Year",
# amounts = "Amount")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.