Skip to content

Commit

Permalink
Make small edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelasq committed Aug 19, 2024
1 parent 9df75d7 commit e2681c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 89-Appendix-DataImport.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The arguments are:
* `encoding`: specifies the character encoding of the data file
* `catalog_encoding`: specifies the character encoding of the catalog file
* `col_select`: selects specific columns for import
* `skip` and `n_max`: controls the number of rows skipped and the maximum number of rows imported
* `skip` and `n_max`: control the number of rows skipped and the maximum number of rows imported
* `.name_repair`: determines how column names are repaired if they are not valid

In the code examples below, we demonstrate how to import Stata, SPSS, and SAS files into R using the respective {haven} functions. The resulting data are stored in `anes_dta`, `anes_sav`, and `anes_sas` objects as tibbles, ready for use in R. For the Stata example, we show how to import the data from the {srvyrexploR} package to use in examples.
Expand Down Expand Up @@ -490,7 +490,7 @@ durh_pums <- get_pums(
durh_pums
```

In Chapter \@ref(c04-getting-started), we used the {censusapi} package to get data from the Census data API for the Current Population Survey. To discover if there's an R package that directly interfaces with a specific survey or data source, search for "[survey] R wrapper" or "[data source] R package" online.
In Chapter \@ref(c04-getting-started), we used the {censusapi} package to get data from the Census data API for the Current Population Survey. To discover if there is an R package that directly interfaces with a specific survey or data source, search for "[survey] R wrapper" or "[data source] R package" online.

## Importing data from databases in R

Expand Down

0 comments on commit e2681c5

Please sign in to comment.