Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
installation
  • Loading branch information
bergant committed Feb 14, 2017
1 parent 93d8e25 commit a073ba5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
8 changes: 8 additions & 0 deletions readme.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,16 @@ a list of R functions.


## Installation
Install the current released version from CRAN:

```{r eval=FALSE}
install.packages("rapiclient")
```

Or get the current development version from github:

```{r eval=FALSE}
# install.packages("devtools")
devtools::install_github("bergant/rapiclient")
```

Expand Down
19 changes: 14 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,18 @@ a list of R functions.


## Installation
Install the current released version from CRAN:


```r
install.packages("rapiclient")
```

Or get the current development version from github:


```r
# install.packages("devtools")
devtools::install_github("bergant/rapiclient")
```

Expand Down Expand Up @@ -175,7 +184,7 @@ httr::with_verbose({
-> Accept: application/json
->
<- HTTP/1.1 200 OK
<- Date: Thu, 09 Feb 2017 14:56:54 GMT
<- Date: Tue, 14 Feb 2017 09:15:55 GMT
<- Access-Control-Allow-Origin: *
<- Access-Control-Allow-Methods: GET, POST, DELETE, PUT
<- Access-Control-Allow-Headers: Content-Type, api_key, Authorization
Expand All @@ -192,7 +201,7 @@ httr::with_verbose({
-> Content-Length: 0
->
<- HTTP/1.1 200 OK
<- Date: Thu, 09 Feb 2017 14:56:54 GMT
<- Date: Tue, 14 Feb 2017 09:15:56 GMT
<- Access-Control-Allow-Origin: *
<- Access-Control-Allow-Methods: GET, POST, DELETE, PUT
<- Access-Control-Allow-Headers: Content-Type, api_key, Authorization
Expand Down Expand Up @@ -312,9 +321,9 @@ str(content, max.level = 1)
# $ status : chr "OK"
# $ copyright : chr "Copyright (c) 2017 The New York Times Company. All Rights Reserved."
# $ section : chr "science"
# $ last_updated: chr "2017-02-09T09:53:18-05:00"
# $ num_results : int 27
# $ results :List of 27
# $ last_updated: chr "2017-02-14T04:07:28-05:00"
# $ num_results : int 26
# $ results :List of 26
```


Expand Down

0 comments on commit a073ba5

Please sign in to comment.