Description Usage Arguments Details Value Examples
Generate pie plot for varaible/multiple units
1 2 3 |
data_type |
A type of data used for generating plot, "variable"(default), "variable","variable.locality" |
varId |
A variable Id. Use |
year |
A single year. If |
unitParentId |
A 12 character NUTS id code of interested unit. Use |
unitLevel |
A number from 0 to 6, filters the returned unit by its level.
(Used only with data_type equal "variable")
If |
aggregateId |
An aggregate id. Use |
lang |
A language of returned data, "pl" (default), "en" |
... |
Other arguments passed on to |
Generate quickly ggplot2 plot, using BDL data.
Pie plot one variable value for multiple units on single year.
To use a proxy to connect, a use_proxy
can be
passed to GET
. For example
get_request(id, filters,
config = httr::use_proxy(url, port, username, password))
.
A ggplo2 plot.
1 | bld_pie_plot <- pie_plot(data_type ="variable" ,"60559", "2006", unitLevel = "2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.