File size: 1,052 Bytes
b427b99
 
 
 
 
 
 
 
 
b722ec2
 
 
 
 
 
 
 
 
 
6cabbde
b722ec2
 
 
 
6cabbde
 
 
 
 
 
b722ec2
 
6cabbde
 
 
 
 
 
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
---
license: other
task_categories:
- text-generation
language:
- code
pretty_name: cran-packages
size_categories:
- 100K<n<1M
---

## CRAN packages dataset

R and Rmd source codes for CRAN packages. 

The dataset has been constructed using the following steps:

- Downloaded latest version from all packages on CRAN (see last updated). The source code has been downloaded from the [GitHub mirror](https://github.com/cran).
- Identified the licenses from each package from their DESCRIPTION file, and classified each of them into some license_code. See the licenses.csv file.
- Extract R and Rmd source files from all packages and joined with the package LICENSES.

Datasets are provided as parquet files containing the following columns:

```
FileSystemDataset with 1 Parquet file
package: string
path: string
content: large_string
size: double
license: string
```

Last updated: Jun 6th 2023

## Changelog

- v1: Initial version
- dev: added all CRAN files and a license field that allows filtering out per license. Also removed some unused columns.