-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
41 lines (29 loc) · 1.09 KB
/
README.Rmd
File metadata and controls
41 lines (29 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# tndata <a href="http://aymennasri.me/tndata/"><img src="man/figures/logo.png" align="right" height="139" alt="tndata website" /></a>
<!-- badges: start -->
[](https://cran.r-project.org/package=tndata)
<!-- badges: end -->
## Overview
The tndata package simplifies access to Tunisian government open data with R. It queries datasets by theme, author, or keywords, retrieves metadata, and gets structured results ready for analysis; all through the official [data.gov.tn](https://data.gov.tn/fr/) CKAN API.
## Installation
You can install the latest version of tndata from [CRAN](https://cran.r-project.org/package=tndata) with:
``` r
# install.packages("pak")
pak::pak("tndata")
```
## Example
``` r
library(tndata)
download_dataset("Ressources en eau- Gouvernorat de Kasserine", format = "xls")
```