Description Usage Arguments Value Examples
View source: R/jabr_fetch_group.R
Download and parse the dataset available at Open Data Jawa Barat into R. This function will download multiple datasets which have same group_id
.
1 | jabr_fetch_group(group_id, keep_title = TRUE, as = "table")
|
group_id |
The group id of dataset. It only accepts single group id. |
keep_title |
Whether to keep the dataset title in result. If the result is a table, the title is saved in "title" column. If the result is a list, the title is saved as list name. |
as |
If |
A tibble or list of tibble.
1 2 3 4 5 6 7 8 9 | library(jabr)
(x <- jabr_list_dataset())
# for example, we want to fetch data about gini ratio in west java since 2011 to 2017.
# The group_id of this data is "78358b54".
jabr_fetch_group("78358b54") %>%
tidyr::unnest(cols = c(dataset))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.