tidyr (version 0.5.1)

table1: tabular layouts

Description

Data sets that demonstrate multiple ways to layout the same tabular data.

Usage

table1

Arguments

Format

An object of class tbl_df (inherits from tbl, data.frame) with 6 rows and 4 columns.

Details

table1, table2, table3, table4, table5, and table6 all display the number of TB cases documented by the World Health Organization in Afghanistan, Brazil, and China between 1999 and 2000. The data contains values associated with four variables (country, year, cases, and population), but each table organizes the values in a different layout.

The data is a subset of the data contained in the World Health Organization Global Tuberculosis Report