r4ds/import.Rmd

27 lines
591 B
Plaintext
Raw Normal View History

2015-09-21 21:41:14 +08:00
---
layout: default
title: Data import
output: bookdown::html_chapter
---
2015-09-21 21:45:06 +08:00
# Data import
2015-09-21 21:41:14 +08:00
## Overview
You can't apply any of the tools you've applied so far to your own work, unless you can get your own data into R. In this chapter, you'll learn how to import:
* Flat files (like csv) with readr.
* Database queries with DBI.
* Data from web APIs with httr.
* Binary file formats (like excel or sas), with haven and readxl.
## Flat files
## Databases
## Web APIs
## Binary files
Needs to discuss how data types in different languages are converted to R. Similarly for missing values.