Package rio. R topics documented: January 14, Type Package Title A Swiss-Army Knife for Data I/O Version 0.3.

Size: px
Start display at page:

Download "Package rio. R topics documented: January 14, Type Package Title A Swiss-Army Knife for Data I/O Version 0.3."

Transcription

1 Type Package Title A Swiss-Army Knife for Data I/O Version Date Package rio January 14, 2016 Maintainer Thomas J. Leeper <thosjleeper@gmail.com> Description Streamlined data import and export by making assumptions that the user is probably willing to make: 'import()' and 'export()' determine the data structure from the file extension, reasonable defaults are used for data import and export (e.g., 'stringsasfactors=false'), webbased import is natively supported (including from SSL/HTTPS), compressed files can be read directly without explicit decompression, and fast import packages are used where appropriate. Depends R (>= ) Imports tools, stats, utils, urltools, foreign, haven, openxlsx, readods, jsonlite, XML, curl (>= 0.6), data.table (>= 1.9.5), readxl, yaml Suggests datasets, bit64, testthat, knitr, magrittr License GPL-2 VignetteBuilder knitr NeedsCompilation no Author Chung-hong Chan [aut], Geoffrey CH Chan [aut], Thomas J. Leeper [aut, cre], Christopher Gandrud [aut], Ista Zahn [aut] Repository CRAN Date/Publication :52:34 R topics documented: convert export import rio

2 2 convert Index 8 convert Convert from one file format to another Description Usage This function constructs a data frame from a data file using codeimport and uses export to write the data to disk in the format indicated by the file extension. convert(in_file, out_file, in_opts = list(), out_opts = list()) Arguments in_file out_file in_opts out_opts a character string naming an input file. a character string naming an output file. a named list of options to be passed to import a named list of options to be passed to export Value See Also The name of the output file (invisibly). Luca Braglia has created a Shiny app called rioweb that provides access to the file conversion features of rio through a web browser. The app is featured in the RStudio Shiny Gallery. Examples # create a file to convert export(iris, "iris.dta") # convert Stata to CSV and open converted file convert("iris.dta", "iris.csv") head(import("iris.csv")) # correct an erroneous file format export(iris, "iris.csv", format = "tsv") convert("iris.csv", "iris.csv", in_opts = list(format = "tsv")) # convert serialized R data.frame to JSON export(iris, "iris.rds") convert("iris.rds", "iris.json") # cleanup unlink("iris.csv")

3 export 3 unlink("iris.dta") unlink("iris.rds") unlink("iris.json") ## Not run: # convert from the command line: Rscript -e "rio::convert( iris.dta, iris.csv )" ## End(Not run) export Write data.frame or matrix to a file Description This function exports a data frame or matrix into a file with file format based on the file extension (or the manually specified format, if format is specified). export supports many file formats. See the documentation for the underlying export functions for optional arguments that can be passed via... Tab-separated data (.tsv), using write.table with row.names = FALSE Comma-separated data (.csv), using write.csv with row.names = FALSE Pipe-separated data (.psv), using write.table with sep = and row.names = FALSE Fixed-width format data (.fwf), using write.table with row.names = FALSE, quote = FALSE, and col.names = FALSE Serialized R objects (.rds), using saverds Saved R objects (.RData), using save JSON (.json), using tojson Stata (.dta), using write_dta SPSS (.sav), using write_sav "XBASE" database files (.dbf), using write.dbf Weka Attribute-Relation File Format (.arff), using write.arff R syntax object (.R), using dput (by default) or dump (if format = dump Excel (.xlsx), using write.xlsx XML (.xml), using a custom method to create an XML tree and write to disk using savexml Clipboard export (on Windows and Mac OS), using write.table with row.names = FALSE Usage export(x, file, format,...)

4 4 export Arguments x file format A data frame or matrix to be written into a file. A character string naming a file. Must specify file and/or format. An optional character string containing the file format, which can be used to override the format inferred from file or, in lieu of specifying file, a file with the symbol name of x and the specified file extension will be created. Must specify file and/or format. Shortcuts include:, (for comma-separated values), ; (for semicolon-separated values), (for pipe-separated values), and dump for dump.... Additional arguments for the underlying export functions. Value The name of the output file as a character string (invisibly). Examples # specify only file argument export(iris, "iris.csv") # specify only format argument "iris.dta" export(iris, format = "stata") "iris.dta" # specify file and format to override default format export(iris, file = "iris.txt", format = "csv") # export to JSON export(iris, "iris.json") # pass arguments to underlying export function export(iris, "iris.csv", col.names = FALSE) # write data to.r syntax file and append additional data export(iris, file = "data.r", format = "dump") export(mtcars, file = "data.r", format = "dump", append = TRUE) source("data.r", echo = TRUE) # cleanup unlink("iris.csv") unlink("iris.dta") unlink("iris.json") unlink("data.r")

5 import 5 import Read data.frame or matrix from a file Description This function imports a data frame or matrix from a data file with the file format based on the file extension (or the manually specified format, if format is specified). import supports the following file formats: Tab-separated data (.tsv), using read.table with row.names = FALSE and stringsasfactors = FALSE (or, if fread = TRUE, fread) Comma-separated data (.csv), using read.csv with row.names = FALSE and stringsasfactors = FALSE (or, if fread = TRUE, fread) CSVY (CSV with a YAML metadata header) using read.csv with row.names = FALSE and stringsasfactors = FALSE (or, if fread = TRUE, fread) Pipe-separated data (.psv), using read.table with sep =, row.names = FALSE, and stringsasfactors = FALSE (or, if fread = TRUE, fread) Fixed-width format data (.fwf), using a faster version of read.fwf that requires a widths argument and by default in rio has stringsasfactors = FALSE Serialized R objects (.rds), using readrds Saved R objects (.RData), using load for single-object.rdata files JSON (.json), using fromjson Stata (.dta), using read_dta. If haven = FALSE, read.dta can be used. If haven = TRUE metadata will be stored as object-level attributes by default; if column.labels = TRUE metadata will be stored as column-level attributes. SPSS and SPSS portable (.sav and.por), using read_sav and read_por. If haven = FALSE, read.spss can be used for.sav files. If haven = TRUE metadata will be stored as objectlevel attributes by default; if column.labels = TRUE metadata will be stored as column-level attributes. "XBASE" database files (.dbf), using read.dbf Weka Attribute-Relation File Format (.arff), using read.arff R syntax object (.R), using dget Excel (.xls and.xlsx), using read_excel. If readxl = FALSE, read.xlsx can be used. SAS (.sas7bdat) and SAS XPORT (.xpt), using read_sas and read.xport. If haven = TRUE metadata will be stored as object-level attributes by default; if column.labels = TRUE metadata will be stored as column-level attributes. Minitab (.mtp), using read.mtp Epiinfo (.rec), using read.epiinfo Systat (.syd), using read.systat Data Interchange Format (.dif), using read.dif

6 6 import Usage Arguments Value Note file OpenDocument Spreadsheet (.ods), using read.ods Shallow XML documents (.xml), using xmltodataframe. Note: optional arguments not recognized by xmltodataframe are passed to xmlparse. Clipboard import (on Windows and Mac OS), using read.table with row.names = FALSE Fortran data (no recognized extension), using read.fortran Google Sheets, as Comma-separated data (.csv) format setclass import(file, format, setclass,...) A character string naming a file, URL, or single-file.zip or.tar archive. An optional character string code of file format, which can be used to override the format inferred from file. Shortcuts include:, (for comma-separated values), ; (for semicolon-separated values), and (for pipe-separated values). An optional character vector specifying one or more classes to set on the import. By default, all the return object is always a data.frame. Reasonable values for this might be tbl_df (if using dplyr) or data.table (if using data.table). Warnings will be produced if a class is used from a package that is not loaded and/or available.... Additional arguments passed to the underlying import functions. For example, this can control column classes for delimited file types, or control the use of haven for Stata and SPSS or readxl for Excel (.xlsx) format. See details below. An R data.frame. If setclass is used, this data.frame may have additional class attribute values. For csv and txt files with row names exported from export, it may be helpful to specify row.names as the column of the table which contain row names. See example below. Examples # create CSV to import export(iris, "iris1.csv") # specify format to override default format export(iris, "iris.tsv", format = "csv") stopifnot(identical(import("iris1.csv"), import("iris.tsv", format = "csv"))) # import CSV as a data.table stopifnot(inherits(import("iris1.csv", setclass = "data.table"), "data.table")) stopifnot(inherits(import("iris1.csv", setclass = "data.table"), "data.table"))

7 rio 7 # pass arguments to underlying import function iris1 <- import("iris1.csv") identical(names(iris), names(iris1)) export(iris, "iris2.csv", col.names = FALSE) iris2 <- import("iris2.csv") identical(names(iris), names(iris2)) # set class for the response data.frame as "tbl_df" (from dplyr) stopifnot(inherits(import("iris1.csv", setclass = "tbl_df"), "tbl_df")) # cleanup unlink("iris.tsv") unlink("iris1.csv") unlink("iris2.csv") rio A Swiss-army knife for data I/O Description The aim of rio is to make data file I/O in R as easy as possible. The export and import serve as a Swiss-army knife for painless data I/O for data from almost any file format by inferring the data structure from the file extension, natively reading web-based data sources, setting reasonable defaults for import and export, and relying on efficient data import and export packages.

8 Index convert, 2 dget, 5 dput, 3 dump, 3, 4 export, 2, 3, 6 fread, 5 fromjson, 5 import, 2, 5 load, 5 read.arff, 5 read.csv, 5 read.dbf, 5 read.dif, 5 read.dta, 5 read.epiinfo, 5 read.fortran, 6 read.fwf, 5 read.mtp, 5 read.ods, 6 read.spss, 5 read.systat, 5 read.table, 5, 6 read.xlsx, 5 read.xport, 5 read_dta, 5 read_excel, 5 read_por, 5 read_sas, 5 read_sav, 5 readrds, 5 rio, 7 rio-package (rio), 7 savexml, 3 tojson, 3 write.arff, 3 write.csv, 3 write.dbf, 3 write.table, 3 write.xlsx, 3 write_dta, 3 write_sav, 3 xmlparse, 6 xmltodataframe, 6 save, 3 saverds, 3 8

Introduction to R. Dataset Basics. March 2018

Introduction to R. Dataset Basics. March 2018 Introduction to R March 2018 1. Preliminaries.... a) Suggested packages for importing/exporting data.... b) FAQ: How to find the path of your dataset (or whatever). 2. Import/Export Data........ a) R (.Rdata)

More information

Package haven. April 9, 2015

Package haven. April 9, 2015 Version 0.2.0 Title Import SPSS, Stata and SAS Files Package haven April 9, 2015 Import foreign statistical formats into R via the embedded ReadStat C library (https://github.com/wizardmac/readstat). Package

More information

Data Input/Output. Andrew Jaffe. January 4, 2016

Data Input/Output. Andrew Jaffe. January 4, 2016 Data Input/Output Andrew Jaffe January 4, 2016 Before we get Started: Working Directories R looks for files on your computer relative to the working directory It s always safer to set the working directory

More information

The foreign Package. October 3, 2007

The foreign Package. October 3, 2007 Priority recommended Version 0.8-23 Date 2007-09-17 The foreign Package October 3, 2007 Title Read Data Stored by Minitab, S, SAS, SPSS, Stata, Systat, dbase,... Depends R (>= 2.6.0), stats Imports methods,

More information

Package clipr. June 23, 2018

Package clipr. June 23, 2018 Type Package Title Read and Write from the System Clipboard Version 0.4.1 Package clipr June 23, 2018 Simple utility functions to read from and write to the Windows, OS X, and X11 clipboards. Imports utils

More information

Package chunked. July 2, 2017

Package chunked. July 2, 2017 Type Package Title Chunkwise Text-File Processing for 'dplyr' Version 0.4 Package chunked July 2, 2017 Text data can be processed chunkwise using 'dplyr' commands. These are recorded and executed per data

More information

Reading and wri+ng data

Reading and wri+ng data An introduc+on to Reading and wri+ng data Noémie Becker & Benedikt Holtmann Winter Semester 16/17 Course outline Day 4 Course outline Review Data types and structures Reading data How should data look

More information

Getting and Cleaning Data. Biostatistics

Getting and Cleaning Data. Biostatistics Getting and Cleaning Data Biostatistics 140.776 Getting and Cleaning Data Getting data: APIs and web scraping Cleaning data: Tidy data Transforming data: Regular expressions Getting Data Web site Nature

More information

https://biostatisticien.eu/springer/courserw3.pdf

https://biostatisticien.eu/springer/courserw3.pdf P. Lafaye de Micheaux 1 1 Mathematics and Statistics Departement Université de Montréal CANADA New South Wales University Sydney, Australia May 27, 2014 https://biostatisticien.eu/springer/courserw3.pdf

More information

Package readxl. April 18, 2017

Package readxl. April 18, 2017 Title Read Excel Files Version 1.0.0 Package readxl April 18, 2017 Import excel files into R. Supports '.xls' via the embedded 'libxls' C library and '.xlsx'

More information

Data Input/Output. Introduction to R for Public Health Researchers

Data Input/Output. Introduction to R for Public Health Researchers Data Input/Output Introduction to R for Public Health Researchers Common new user mistakes we have seen 1. Working directory problems: trying to read files that R "can't find" RStudio can help, and so

More information

Package tabulizer. June 7, 2018

Package tabulizer. June 7, 2018 Type Package Package tabulizer June 7, 2018 Title Bindings for 'Tabula' PDF Table Extractor Library Version 0.2.2 Maintainer Tom Paskhalis Bindings for the 'Tabula'

More information

Package canvasxpress

Package canvasxpress Version 1.18.2 Package canvasxpress Title Visualization Package for CanvasXpress in R January 19, 2018 Enables creation of visualizations using the CanvasXpress framework in R. CanvasXpress is a standalone

More information

Package crossword.r. January 19, 2018

Package crossword.r. January 19, 2018 Date 2018-01-13 Type Package Title Generating s from Word Lists Version 0.3.5 Author Peter Meissner Package crossword.r January 19, 2018 Maintainer Peter Meissner Generate crosswords

More information

Package haven. July 9, 2017

Package haven. July 9, 2017 Version 1.1.0 Package haven July 9, 2017 Title Import and Eport 'SPSS', 'Stata' and 'SAS' Files Import foreign statistical formats into R via the embedded 'ReadStat' C library, .

More information

Input/Output Data Frames

Input/Output Data Frames Input/Output Data Frames Statistics 135 Autumn 2005 Copyright c 2005 by Mark E. Irwin Input/Output Importing text files Rectangular (n rows, c columns) Usually you want to use read.table read.table(file,

More information

Package haven. February 19, 2019

Package haven. February 19, 2019 Package haven February 19, 2019 Title Import and Eport 'SPSS', 'Stata' and 'SAS' Files Version 2.1.0 Import foreign statistical formats into R via the embedded 'ReadStat' C library, .

More information

Stat 302 Statistical Software and Its Applications Data Import and Export

Stat 302 Statistical Software and Its Applications Data Import and Export 1 Stat 302 Statistical Software and Its Applications Data Import and Export Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 January 26, 2015 2 General Remarks on I/O

More information

Package essurvey. August 23, 2018

Package essurvey. August 23, 2018 Package essurvey August 23, 2018 Title Download Data from the European Social Survey on the Fly Version 1.0.2 BugReports https://github.com/ropensci/essurvey/issues Download data from the European Social

More information

Package robotstxt. November 12, 2017

Package robotstxt. November 12, 2017 Date 2017-11-12 Type Package Package robotstxt November 12, 2017 Title A 'robots.txt' Parser and 'Webbot'/'Spider'/'Crawler' Permissions Checker Version 0.5.2 Provides functions to download and parse 'robots.txt'

More information

Importing data sets in R

Importing data sets in R Importing data sets in R R can import and export different types of data sets including csv files text files excel files access database STATA data SPSS data shape files audio files image files and many

More information

Package lumberjack. R topics documented: July 20, 2018

Package lumberjack. R topics documented: July 20, 2018 Package lumberjack July 20, 2018 Maintainer Mark van der Loo License GPL-3 Title Track Changes in Data LazyData no Type Package LazyLoad yes A function composition ('pipe') operator

More information

Reading in data. Programming in R for Data Science Anders Stockmarr, Kasper Kristensen, Anders Nielsen

Reading in data. Programming in R for Data Science Anders Stockmarr, Kasper Kristensen, Anders Nielsen Reading in data Programming in R for Data Science Anders Stockmarr, Kasper Kristensen, Anders Nielsen Data Import R can import data many ways. Packages exists that handles import from software systems

More information

Package datasets.load

Package datasets.load Title Interface for Loading Datasets Version 0.1.0 Package datasets.load December 14, 2016 Visual interface for loading datasets in RStudio from insted (unloaded) s. Depends R (>= 3.0.0) Imports shiny,

More information

Package GetITRData. October 22, 2017

Package GetITRData. October 22, 2017 Package GetITRData October 22, 2017 Title Reading Financial Reports from Bovespa's ITR System Version 0.6 Date 2017-10-21 Reads quarterly and annual financial reports including assets, liabilities, income

More information

Data Import and Export

Data Import and Export Data Import and Export Feng Li feng.li@cufe.edu.cn School of Statistics and Mathematics Central University of Finance and Economics June 2, 2015 Revised on June 2, 2015 Today we are going to learn... 1

More information

Package WriteXLS. March 14, 2013

Package WriteXLS. March 14, 2013 Package WriteXLS March 14, 2013 Version 2.3.1 Date 2013-03-14 Title Cross-platform Perl based R function to create Excel 2003 (XLS) files Description Cross-platform Perl based R function to create Excel

More information

Package rgho. R topics documented: January 18, 2017

Package rgho. R topics documented: January 18, 2017 Package rgho January 18, 2017 Title Access WHO Global Health Observatory Data from R Version 1.0.1 Author Antoine Filipovic-Pierucci [aut,cre] Maintainer Antoine Filipovic-Pierucci

More information

Data Input/Output. Introduction to R for Public Health Researchers

Data Input/Output. Introduction to R for Public Health Researchers Data Input/Output Introduction to R for Public Health Researchers Common new user mistakes we have seen 1. Working directory problems: trying to read files that R can t find RStudio can help, and so do

More information

Introduction to R and R-Studio Getting Data Into R. 1. Enter Data Directly into R...

Introduction to R and R-Studio Getting Data Into R. 1. Enter Data Directly into R... Introduction to R and R-Studio 2017-18 02. Getting Data Into R 1. Enter Data Directly into R...... 2. Import Excel Data (.xlsx ) into R..... 3. Import Stata Data (.dta ) into R...... a) From a folder on

More information

Package tidyimpute. March 5, 2018

Package tidyimpute. March 5, 2018 Title Imputation the Tidyverse Way Version 0.1.0 Date 2018-02-01 Package tidyimpute March 5, 2018 URL https://github.com/decisionpatterns/tidyimpute Functions and methods for imputing missing values (NA)

More information

Package bigqueryr. October 23, 2017

Package bigqueryr. October 23, 2017 Package bigqueryr October 23, 2017 Title Interface with Google BigQuery with Shiny Compatibility Version 0.3.2 Interface with 'Google BigQuery', see for more information.

More information

Package foreign. June 21, 2017

Package foreign. June 21, 2017 Priority recommended Version 0.8-69 Date 2017-06-21 Package foreign June 21, 2017 Title Read Data Stored by 'Minitab', 'S', 'SAS', 'SPSS', 'Stata', 'Systat', 'Weka', 'dbase',... Depends R (>= 3.0.0) Imports

More information

Package htmlwidgets. July 10, 2017

Package htmlwidgets. July 10, 2017 Package htmlwidgets July 10, 2017 Type Package Title HTML Widgets for R Version 0.9 Date 2017-07-10 A framework for creating HTML widgets that render in various contexts including the R console, 'R Markdown'

More information

Data input & output. Hadley Wickham. Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University.

Data input & output. Hadley Wickham. Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University. Data input & output Hadley Wickham Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University June 2012 1. Working directories 2. Loading data 3. Strings and factors

More information

Package bigqueryr. June 8, 2018

Package bigqueryr. June 8, 2018 Package bigqueryr June 8, 2018 Title Interface with Google BigQuery with Shiny Compatibility Version 0.4.0 Interface with 'Google BigQuery', see for more information.

More information

Package tibble. August 22, 2017

Package tibble. August 22, 2017 Encoding UTF-8 Version 1.3.4 Title Simple Data Frames Package tibble August 22, 2017 Provides a 'tbl_df' class (the 'tibble') that provides stricter checking and better formatting than the traditional

More information

Package IsoCorrectoR. R topics documented:

Package IsoCorrectoR. R topics documented: Package IsoCorrectoR March 19, 2019 Title Correction for natural isotope abundance and tracer purity in MS and MS/MS data from stable isotope labeling experiments Version 1.0.5 Imports dplyr, magrittr,

More information

Package fastdummies. January 8, 2018

Package fastdummies. January 8, 2018 Type Package Package fastdummies January 8, 2018 Title Fast Creation of Dummy (Binary) Columns and Rows from Categorical Variables Version 1.0.0 Description Creates dummy columns from columns that have

More information

Package loggit. April 9, 2018

Package loggit. April 9, 2018 Title Effortless Exception Logging Package loggit April 9, 2018 A very simple and easy-to-use set of suspiciously-familiar functions. 'loggit' provides a set of wrappings for base R's message(), warning(),

More information

Package gnumeric. March 9, 2017

Package gnumeric. March 9, 2017 Version 0.7-8 Date 2017-03-09 Package gnumeric March 9, 2017 Title Read Data from Files Readable by 'gnumeric' Author Karoly Antal . Maintainer Karoly Antal Depends

More information

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features Type Package Version 0.0.2 Title Encode Categorical Features Package cattonum May 2, 2018 Functions for dummy encoding, frequency encoding, label encoding, leave-one-out encoding, mean encoding, median

More information

Reading and writing data

Reading and writing data 25/10/2017 Reading data Reading data is one of the most consuming and most cumbersome aspects of bioinformatics... R provides a number of ways to read and write data stored on different media (file, database,

More information

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3. Type Package Title GeoJSON to Simple Feature Converter Version 1.3.0 Date 2019-01-11 Package geojsonsf January 11, 2019 Converts Between GeoJSON and simple feature objects. License GPL-3 Encoding UTF-8

More information

Package dataverse. June 15, 2017

Package dataverse. June 15, 2017 Version 0.2.0 Date 2017-06-15 Title Client for Dataverse 4 Repositories Imports stats, utils, httr, xml2, jsonlite Suggests knitr, testthat, UNF, foreign Package dataverse June 15, 2017 Provides access

More information

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files

Package bigreadr. R topics documented: August 13, Version Date Title Read Large Text Files Version 0.1.3 Date 2018-08-12 Title Read Large Text Files Package bigreadr August 13, 2018 Read large text s by splitting them in smaller s. License GPL-3 Encoding UTF-8 LazyData true ByteCompile true

More information

Package datapasta. January 24, 2018

Package datapasta. January 24, 2018 Title R Tools for Data Copy-Pasta Version 3.0.0 Package datapasta January 24, 2018 RStudio addins and R functions that make copy-pasting vectors and tables to text painless. Depends R (>= 3.3.0) Suggests

More information

Package io. January 15, 2018

Package io. January 15, 2018 Type Package Package io January 15, 2018 Title A Unified Framework for Input-Output Operations in R Version 0.3.0 Date 2018-01-15 Author David J. H. Shih Maintainer David J. H. Shih

More information

Package assertr. R topics documented: February 23, Type Package

Package assertr. R topics documented: February 23, Type Package Type Package Package assertr February 23, 2018 Title Assertive Programming for R Analysis Pipelines Version 2.5 Provides functionality to assert conditions that have to be met so that errors in data used

More information

CS Introduction to Computational and Data Science. Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017

CS Introduction to Computational and Data Science. Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017 CS 133 - Introduction to Computational and Data Science Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017 Announcement Read book to page 44. Final project Today

More information

Package htmlwidgets. February 25, 2016

Package htmlwidgets. February 25, 2016 Package htmlwidgets February 25, 2016 Type Package Title HTML Widgets for R Version 0.6 Date 2016-02-25 A framework for creating HTML widgets that render in various contexts including the R console, 'R

More information

Package UNF. June 13, 2017

Package UNF. June 13, 2017 Version 2.0.6 Package UNF June 13, 2017 Title Tools for Creating Universal Numeric Fingerprints for Data Date 2017-06-13 Description Computes a universal numeric fingerprint (UNF) for an R data object.

More information

Introduction to R Commander

Introduction to R Commander Introduction to R Commander 1. Get R and Rcmdr to run 2. Familiarize yourself with Rcmdr 3. Look over Rcmdr metadata (Fox, 2005) 4. Start doing stats / plots with Rcmdr Tasks 1. Clear Workspace and History.

More information

Package fimport. November 20, 2017

Package fimport. November 20, 2017 Package fimport November 20, 2017 Title Rmetrics - Importing Economic and Financial Data Date 2017-11-12 Version 3042.85 Author Diethelm Wuertz [aut], Tobias Setz [cre], Yohan Chalabi [ctb] Maintainer

More information

Package jstree. October 24, 2017

Package jstree. October 24, 2017 Package jstree October 24, 2017 Title Create Interactive Trees with the 'jquery' 'jstree' Plugin Version 1.0.1 Date 2017-10-23 Maintainer Jonathan Sidi Create and customize interactive

More information

Package internetarchive

Package internetarchive Type Package Title An API Client for the Internet Archive Package internetarchive December 8, 2016 Search the Internet Archive, retrieve metadata, and download files. Version 0.1.6 Date 2016-12-08 License

More information

Package swat. March 5, 2018

Package swat. March 5, 2018 Type Package Package swat March 5, 2018 Title SAS Scripting Wrapper for Analytics Transfer (SWAT) Version 1.2.0.9000 Date 11OCT2017 Author Jared Dean [aut, cre], Tom Weber [aut, cre], Kevin Smith [aut]

More information

Package barcoder. October 26, 2018

Package barcoder. October 26, 2018 Package barcoder October 26, 2018 Title Labelling, Tracking, and Collecting Data from Biological Samples Version 0.1.0 Maintainer Robert Colautti Tools to generate unique identifiers

More information

Package rtika. May 2, 2018

Package rtika. May 2, 2018 Type Package Title R Interface to 'Apache Tika' Version 0.1.8 Package rtika May 2, 2018 Maintainer Sasha Goodman Imports curl, sys, stats, utils, rappdirs Suggests jsonlite, xml2,

More information

Package condformat. October 19, 2017

Package condformat. October 19, 2017 Type Package Title Conditional Formatting in Data Frames Version 0.7.0 Date 2017-10-19 URL http://github.com/zeehio/condformat Package condformat October 19, 2017 BugReports http://github.com/zeehio/condformat/issues

More information

Package opencage. January 16, 2018

Package opencage. January 16, 2018 Package opencage January 16, 2018 Type Package Title Interface to the OpenCage API Version 0.1.4 Tool for accessing the OpenCage API, which provides forward geocoding (from placename to longitude and latitude)

More information

Reading data into R. 1. Data in human readable form, which can be inspected with a text editor.

Reading data into R. 1. Data in human readable form, which can be inspected with a text editor. Reading data into R There is a famous, but apocryphal, story about Mrs Beeton, the 19th century cook and writer, which says that she began her recipe for rabbit stew with the instruction First catch your

More information

Package postal. July 27, 2018

Package postal. July 27, 2018 Type Package Title United States Postal Service API Interface Version 0.1.0 Package postal July 27, 2018 Author Amanda Dobbyn Maintainer Amanda Dobbyn

More information

Package swat. June 5, 2018

Package swat. June 5, 2018 Type Package Package swat June 5, 2018 Title SAS Scripting Wrapper for Analytics Transfer (SWAT) Version 1.2.1 Date 11OCT2017 Author Jared Dean [aut, cre], Tom Weber [aut, cre], Kevin Smith [aut] SWAT

More information

Package dkanr. July 12, 2018

Package dkanr. July 12, 2018 Title Client for the 'DKAN' API Version 0.1.2 Package dkanr July 12, 2018 Provides functions to facilitate access to the 'DKAN' API (), including

More information

Package profvis. R topics documented:

Package profvis. R topics documented: Package profvis January 14, 2017 Title Interactive Visualizations for Profiling R Code Version 0.3.3 Interactive visualizations for profiling R code. Depends R (>= 3.0) Imports htmlwidgets (>= 0.3.2),

More information

Stat405. More about data. Hadley Wickham. Tuesday, September 11, 12

Stat405. More about data. Hadley Wickham. Tuesday, September 11, 12 Stat405 More about data Hadley Wickham 1. (Data update + announcement) 2. Motivating problem 3. External data 4. Strings and factors 5. Saving data Slot machines they be sure casinos are honest? CC by-nc-nd:

More information

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava'

Package jdx. R topics documented: January 9, Type Package Title 'Java' Data Exchange for 'R' and 'rjava' Type Package Title 'Java' Data Exchange for 'R' and 'rjava' Package jdx January 9, 2018 Description Simplifies and extends data exchange between 'R' and 'Java'. Version 0.1.0 License GPL (>= 2 BSD_3_clause

More information

Package wikitaxa. December 21, 2017

Package wikitaxa. December 21, 2017 Title Taxonomic Information from 'Wikipedia' Package wikitaxa December 21, 2017 'Taxonomic' information from 'Wikipedia', 'Wikicommons', 'Wikispecies', and 'Wikidata'. Functions included for getting taxonomic

More information

Package pairsd3. R topics documented: August 29, Title D3 Scatterplot Matrices Version 0.1.0

Package pairsd3. R topics documented: August 29, Title D3 Scatterplot Matrices Version 0.1.0 Title D3 Scatterplot Matrices Version 0.1.0 Package pairsd3 August 29, 2016 Creates an interactive scatterplot matrix using the D3 JavaScript library. See for more information on D3.

More information

Package swat. April 27, 2017

Package swat. April 27, 2017 Type Package Package swat April 27, 2017 Title SAS Scripting Wrapper for Analytics Transfer (SWAT) Version 1.0.0 Date 28APR2017 Author Jared Dean [aut, cre], Tom Weber [aut, cre], Kevin Smith [aut] SWAT

More information

Intermediate Programming in R Session 1: Data. Olivia Lau, PhD

Intermediate Programming in R Session 1: Data. Olivia Lau, PhD Intermediate Programming in R Session 1: Data Olivia Lau, PhD Outline About Me About You Course Overview and Logistics R Data Types R Data Structures Importing Data Recoding Data 2 About Me Using and programming

More information

Package RODBCext. July 31, 2017

Package RODBCext. July 31, 2017 Version 0.3.1 Package RODBCext July 31, 2017 Title Parameterized Queries Extension for RODBC An extension for RODBC package adding support for parameterized queries. URL https://github.com/zozlak/rodbcext

More information

Package labelled. December 19, 2017

Package labelled. December 19, 2017 Package labelled December 19, 2017 Type Package Title Manipulating Labelled Data Version 1.0.1 Date 2017-12-19 Maintainer Joseph Larmarange Work with labelled data imported from

More information

Package csvread. August 29, 2016

Package csvread. August 29, 2016 Title Fast Specialized CSV File Loader Version 1.2 Author Sergei Izrailev Package csvread August 29, 2016 Maintainer Sergei Izrailev Description Functions for loading large

More information

Package textreadr. R topics documented: December 12, Title Read Text Documents into R Version 0.7.0

Package textreadr. R topics documented: December 12, Title Read Text Documents into R Version 0.7.0 Title Read Text Documents into R Version 0.7.0 Package textreadr December 12, 2017 Maintainer Tyler Rinker A small collection of convenience tools for reading text documents into

More information

Package taskscheduler

Package taskscheduler Type Package Package taskscheduler November 16, 2017 Title Schedule R Scripts and Processes with the Windows Task Scheduler Schedule R scripts/processes with the Windows task scheduler. This allows R users

More information

Package rdryad. June 18, 2018

Package rdryad. June 18, 2018 Type Package Title Access for Dryad Web Services Package rdryad June 18, 2018 Interface to the Dryad ``Solr'' API, their ``OAI-PMH'' service, and fetch datasets. Dryad () is a curated

More information

STAT 540 Computing in Statistics

STAT 540 Computing in Statistics STAT 540 Computing in Statistics Introduces programming skills in two important statistical computer languages/packages. 30-40% R and 60-70% SAS Examples of Programming Skills: 1. Importing Data from External

More information

Package sfc. August 29, 2016

Package sfc. August 29, 2016 Type Package Title Substance Flow Computation Version 0.1.0 Package sfc August 29, 2016 Description Provides a function sfc() to compute the substance flow with the input files --- ``data'' and ``model''.

More information

Package radix. September 17, 2018

Package radix. September 17, 2018 Type Package Package radix September 17, 2018 Title 'R Markdown' Format for Scientific and Technical Writing Version 0.5 Scientific and technical article format for the web. 'Radix' articles feature attractive,

More information

IMPORTING DATA INTO R. Introduction Flat Files

IMPORTING DATA INTO R. Introduction Flat Files IMPORTING DATA INTO R Introduction Flat Files Importing data into R? 5 Types Flat Files Excel Files Statistical Software Databases Data from the Web Flat Files states.csv Comma Separated Values state,capital,pop_mill,area_sqm

More information

Package calpassapi. August 25, 2018

Package calpassapi. August 25, 2018 Title R Interface to Access CalPASS API Version 0.0.1 Package calpassapi August 25, 2018 Description Implements methods for querying data from CalPASS using its API. CalPASS Plus. MMAP API V1. .

More information

Package reval. May 26, 2015

Package reval. May 26, 2015 Package reval May 26, 2015 Title Repeated Function Evaluation for Sensitivity Analysis Version 2.0.0 Date 2015-05-25 Author Michael C Koohafkan [aut, cre] Maintainer Michael C Koohafkan

More information

Package tfruns. February 18, 2018

Package tfruns. February 18, 2018 Type Package Title Training Run Tools for 'TensorFlow' Version 1.3 Package tfruns February 18, 2018 Create and manage unique directories for each 'TensorFlow' training run. Provides a unique, time stamped

More information

Package cloudml. June 12, 2018

Package cloudml. June 12, 2018 Package cloudml June 12, 2018 Title Interface to the Google Cloud Machine Learning Platform Version 0.5.1 Interface to the Google Cloud Machine Learning Platform , which

More information

Package githubinstall

Package githubinstall Type Package Version 0.2.2 Package githubinstall February 18, 2018 Title A Helpful Way to Install R Packages Hosted on GitHub Provides an helpful way to install packages hosted on GitHub. URL https://github.com/hoxo-m/githubinstall

More information

Package bisect. April 16, 2018

Package bisect. April 16, 2018 Package bisect April 16, 2018 Title Estimating Cell Type Composition from Methylation Sequencing Data Version 0.9.0 Maintainer Eyal Fisher Author Eyal Fisher [aut, cre] An implementation

More information

Session 1 Nick Hathaway;

Session 1 Nick Hathaway; Session 1 Nick Hathaway; nicholas.hathaway@umassmed.edu Contents R Basics 1 Variables/objects.............................................. 1 Functions..................................................

More information

Package ECctmc. May 1, 2018

Package ECctmc. May 1, 2018 Type Package Package ECctmc May 1, 2018 Title Simulation from Endpoint-Conditioned Continuous Time Markov Chains Version 0.2.5 Date 2018-04-30 URL https://github.com/fintzij/ecctmc BugReports https://github.com/fintzij/ecctmc/issues

More information

Package messaging. May 27, 2018

Package messaging. May 27, 2018 Type Package Package messaging May 27, 2018 Title Conveniently Issue Messages, Warnings, and Errors Version 0.1.0 Description Provides tools for creating and issuing nicely-formatted text within R diagnostic

More information

Introduction to R. base -> R win32.exe (this will change depending on the latest version)

Introduction to R. base -> R win32.exe (this will change depending on the latest version) Dr Raffaella Calabrese, Essex Business School 1. GETTING STARTED Introduction to R R is a powerful environment for statistical computing which runs on several platforms. R is available free of charge.

More information

Package editdata. October 7, 2017

Package editdata. October 7, 2017 Type Package Title 'RStudio' Addin for Editing a 'data.frame' Version 0.1.2 Package editdata October 7, 2017 Imports shiny (>= 0.13, miniui (>= 0.1.1, rstudioapi (>= 0.5, DT, tibble An 'RStudio' addin

More information

Where s the spreadsheet?

Where s the spreadsheet? Reading in Data Where s the spreadsheet? Statistical packages normally have a spreadsheet R has a minimal-but-usable spreadsheet More emphasis on data generated/curated externally Very powerful data import

More information

Switching to Sheets from Microsoft Excel Learning Center gsuite.google.com/learning-center

Switching to Sheets from Microsoft Excel Learning Center gsuite.google.com/learning-center Switching to Sheets from Microsoft Excel 2010 Learning Center gsuite.google.com/learning-center Welcome to Sheets Now that you've switched from Microsoft Excel to G Suite, learn how to use Google Sheets

More information

Package aws.transcribe

Package aws.transcribe Type Package Title Client for 'AWS Transcribe' Version 0.1.2 Date 2018-04-09 Package aws.transcribe April 9, 2018 Client for 'AWS Transcribe' , a cloud

More information

Package d3plus. September 25, 2017

Package d3plus. September 25, 2017 Type Package Title Seamless 'D3Plus' Integration Version 0.1.0 Author Mauricio Vargas [aut,cre], Joshua Kunst [aut], Dave Landry [ctb], Datawheel [cph] Package d3plus September 25, 2017 Maintainer Mauricio

More information

Package taxonomizr. March 9, 2017

Package taxonomizr. March 9, 2017 Package taxonomizr March 9, 2017 Maintainer Scott Sherrill-Mix License GPL-2 Title Functions to Work with NCBI Accessions and Taxonomy Type Package LazyLoad yes Author Scott Sherrill-Mix

More information

Package oec. R topics documented: May 11, Type Package

Package oec. R topics documented: May 11, Type Package Type Package Package oec May 11, 2018 Title Observatory of Economic Complexity API Wrapper and Utility Program Version 2.7.8 Date 2018-06-11 Maintainer Mauricio Vargas S. URL https://cran.r-project.org/package=oec

More information

Introduction to R. 1 Introduction 2. 2 What You Need 2

Introduction to R. 1 Introduction 2. 2 What You Need 2 Introduction to R Dave Armstrong University of Wisconsin-Milwaukee Department of Political Science e: armstrod@uwm.edu w: http://www.quantoid.net/teachuw/uwmpsych Contents 1 Introduction 2 2 What You Need

More information