Last data update: 2014.03.03

R: a sample dataset containing labeled headlines from The New...
NYTimesR Documentation

a sample dataset containing labeled headlines from The New York Times.

Description

A sample dataset containing labeled headlines from The New York Times, compiled by Professor Amber E. Boydstun at the University of California, Davis.

Usage

data(NYTimes)

Format

A data.frame containing five columns.

1. Article_ID - A unique identifier for the headline from The New York Times.

2. Date - The date the headline appeared in The New York Times.

3. Title - The headline as it appeared in The New York Times.

4. Subject - A manually classified subject of the headline.

5. Topic.Code - A manually labeled topic code corresponding to the subject.

Source

http://www.amberboydstun.com/

Examples

data(NYTimes)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(RTextTools)
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/RTextTools/NYTimes.Rd_%03d_medium.png", width=480, height=480)
> ### Name: NYTimes
> ### Title: a sample dataset containing labeled headlines from The New York
> ###   Times.
> ### Aliases: NYTimes
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(NYTimes)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>