Skip to content

Commit f0b08f0

Browse files
committed
package site
1 parent ecc7eda commit f0b08f0

20 files changed

+1370
-10
lines changed

_pkgdown.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ navbar:
99
- text: "Function Reference"
1010
icon: fa-info-circle
1111
href: reference/index.html
12+
- text: "Vignettes"
13+
icon: fa-book
14+
href: articles/index.html
15+
menu:
16+
- text: "Cluster analysis in OpenBudget.eu"
17+
href: articles/ClusterOBeu.html
18+
- text: "Using Cluster.OBeu with OpenCPU"
19+
href: articles/Cluster.OBeuOpenCPU.html
1220
- text: "News"
1321
icon: fa-newspaper-o
1422
href: news/index.html

docs/LICENSE.html

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## ---- eval=FALSE, include=TRUE-------------------------------------------
2+
# ../library/ {name of the library} /R/ {function}
3+
4+
## ---- eval=FALSE, include=TRUE-------------------------------------------
5+
# ../library/Cluster.OBeu/R/cl.analysis
6+
# # library/ {name of the library} /R/ {function}
7+

docs/articles/Cluster.OBeuOpenCPU.html

Lines changed: 299 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/ClusterOBeu.R

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## ----load, warning=FALSE, include=TRUE-----------------------------------
2+
# load Cluster.OBeu
3+
library(Cluster.OBeu)
4+
5+
## ----data----------------------------------------------------------------
6+
aragon_income = "https://apps.openbudgets.eu//api/3/cubes/aragon-2007-income__3209b/aggregate?drilldown=fundingClassification.prefLabel%7CeconomicClassification.prefLabel&aggregates=amount.sum"
7+
8+
## ----open_spending, eval=FALSE, include=TRUE----------------------------
9+
# results = open_spending.cl(
10+
# json_data = aragon_income,
11+
# dimensions ="economicClassification.prefLabel",
12+
# amounts = "amount.sum",
13+
# measured.dimensions = "fundingClassification.prefLabel",
14+
# cl.method="kmeans"
15+
# )
16+
# # Pretty output using prettify of jsonlite library
17+
# jsonlite::prettify(results)
18+
19+
## ---- eval=FALSE, include=TRUE-------------------------------------------
20+
# ../library/Cluster.OBeu/R/open_spending.cl
21+
# # library/ {name of the library} /R/ {function}
22+

0 commit comments

Comments
 (0)