tests/testthat/datacatalog.worldbank.org/api/dataset/node/00000.R

structure(list(url = "https://datacatalog.worldbank.org/api/dataset/node/00000", 
    status_code = 404L, headers = structure(list(date = "Wed, 21 Feb 2018 18:24:02 GMT", 
        server = "Apache/2.2.15 (Red Hat)", `x-powered-by` = "PHP/5.6.30", 
        `x-drupal-cache` = "HIT", vary = "Cookie,Accept-Encoding,User-Agent", 
        etag = "\"1519237428-0\"", `cache-control` = "public, max-age=60", 
        `last-modified` = "Wed, 21 Feb 2018 18:23:48 GMT", expires = "Sun, 19 Nov 1978 05:00:00 GMT", 
        `content-encoding` = "gzip", `content-length` = "50", 
        connection = "close", `content-type` = "application/json"), .Names = c("date", 
    "server", "x-powered-by", "x-drupal-cache", "vary", "etag", 
    "cache-control", "last-modified", "expires", "content-encoding", 
    "content-length", "connection", "content-type"), class = c("insensitive", 
    "list")), all_headers = list(structure(list(status = 404L, 
        version = "HTTP/1.1", headers = structure(list(date = "Wed, 21 Feb 2018 18:24:02 GMT", 
            server = "Apache/2.2.15 (Red Hat)", `x-powered-by` = "PHP/5.6.30", 
            `x-drupal-cache` = "HIT", vary = "Cookie,Accept-Encoding,User-Agent", 
            etag = "\"1519237428-0\"", `cache-control` = "public, max-age=60", 
            `last-modified` = "Wed, 21 Feb 2018 18:23:48 GMT", 
            expires = "Sun, 19 Nov 1978 05:00:00 GMT", `content-encoding` = "gzip", 
            `content-length` = "50", connection = "close", `content-type` = "application/json"), .Names = c("date", 
        "server", "x-powered-by", "x-drupal-cache", "vary", "etag", 
        "cache-control", "last-modified", "expires", "content-encoding", 
        "content-length", "connection", "content-type"), class = c("insensitive", 
        "list"))), .Names = c("status", "version", "headers"))), 
    cookies = structure(list(domain = "datacatalog.worldbank.org", 
        flag = FALSE, path = "/", secure = FALSE, expiration = structure(Inf, class = c("POSIXct", 
        "POSIXt")), name = "datacatalog.sfarm", value = "REDACTED"), .Names = c("domain", 
    "flag", "path", "secure", "expiration", "name", "value"), row.names = c(NA, 
    -1L), class = "data.frame"), content = charToRaw("[\"Node 00000 could not be found\"]"), 
    date = structure(1519237442, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = structure(c(0, 1e-06, 1e-06, 1e-06, 
    0.062, 0.062), .Names = c("redirect", "namelookup", "connect", 
    "pretransfer", "starttransfer", "total")), request = structure(list(
        method = "GET", url = "https://datacatalog.worldbank.org/api/dataset/node/00000", 
        headers = structure("application/json", .Names = "Accept"), 
        fields = NULL, options = structure(list(useragent = "libcurl/7.56.1 r-curl/3.1 httr/1.3.1", 
            cainfo = "C:/PROGRA~1/R/R-34~1.3/etc/curl-ca-bundle.crt", 
            httpget = TRUE), .Names = c("useragent", "cainfo", 
        "httpget")), output = structure(list(), class = c("write_memory", 
        "write_function"))), .Names = c("method", "url", "headers", 
    "fields", "options", "output"), class = "request")), .Names = c("url", 
"status_code", "headers", "all_headers", "cookies", "content", 
"date", "times", "request"), class = "response")
tonyfujs/dkanr documentation built on May 28, 2019, 4:03 p.m.