ropensci: Print brief summary of output

Description Usage Arguments Value Examples

Description

Print brief summary of output

Summary of an ropensci class object

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'ropensci'
plot(x, ...)

## S3 method for class 'ropensci'
print(x, ...)

## S3 method for class 'ropensci'
summary(object, ...)

Arguments

x

An ropensci object

...

Further args

object

Input

Value

NULL

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
library(httr)
url <- "http://api.plos.org/search?q=author:Ethan White&rows=1&wt=json"
out <- GET(url)
somedata <- content(out)$response$docs[[1]]
dat <- as_ropensci(out, somedata)
print(dat)

## End(Not run)
## Not run: 
library(httr)
url <- "http://api.plos.org/search?q=author:Ethan White&rows=1&wt=json"
out <- GET(url)
data <- content(out)
somedata <- data$response$docs[[1]]
dat <- as_ropenci(out, somedata)
summary(dat)

## End(Not run)

ropensci/ropensciToolkit documentation built on May 16, 2018, 7:06 a.m.