Dadegan is a simple package which contains a handful of useful Persian datasets.
You can install this package by running the following code in your R console:
remotes::install_github('mcnakhaee/dadegan')
Currently, there are 5 datasets are included in the package:
divar
spotify
factnameh
Ubaar
(training and test)
Books
here are a few large datasets in this package so I strongly recommend that you do not load the package with the library()
command but rather use something like this to access to the dataset that you might need:
dadegan::divar
library(tidyverse)
factnameh <- dadegan::factnameh
top_entities <- factnameh %>%
count(entity,conclusion_sum,sort = TRUE) %>%
slice(1:10)
# A tibble: 10 x 3
entity conclusion_sum n
<chr> <chr> <int>
1 شبکههای اجتماعی false 34
2 شبکههای اجتماعی outrageous 21
3 حسن روحانی false 16
4 مطبوعات و رسانهها false 15
5 حسن روحانی true 11
6 حسن روحانی almost_true 7
7 حسن روحانی misleading 7
8 مطبوعات و رسانهها outrageous 7
9 ابراهیم رئیسی false 6
10 حسن روحانی no_data 6
Please report your issues in the issue page of the repository or send an email to mcnakhaee@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.