knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(textdata)

This package provides infrastructure to make text datasets available within R, even when they are too large to store within an R package or are licensed in such a way that prevents them from being included in OSS-licensed packages.

Do you want to add a new dataset to the textdata package?

What are the guidelines for adding datasets?

Guidelines for textdata datasets

Classification datasets

For datasets that comes with a testing and training dataset. Let the user pick which one to retrieve with a split argument similar to how dataset_ag_news() is doing.



EmilHvitfeldt/textdata documentation built on June 1, 2024, 1:12 a.m.