Generate pie plot for variable/multiple units
Arguments
- data_type
A type of data used for generating plot, "variable"(default), "variable","variable.locality"
- varId
A variable Id. Use
search_variables
orget_variables
to find variable id code.- year
A single year. If
NULL
(default) returns data for all available years.- unitParentId
A 12 character NUTS id code of interested unit. Use
search_units
orget_units
to find unit id code.- unitLevel
A number from 0 to 6, filters the returned unit by its level. (Used only with data_type equal "variable") If
NULL
(default) no level filters apply. Useget_levels
to find more info.- aggregateId
An aggregate id. Use
get_aggregates
for more info.- label
Logical; if TRUE (default) adds labels.
- lang
A language of returned data, "pl" (default), "en"
- ...
Other arguments passed on to
GET
. For example a proxy parameters, see details.