tests/testthat/api.twitter.com/2/tweets/counts/all-a744d8.R

structure(list(url = "https://api.twitter.com/2/tweets/counts/all?query=%23commtwitter&start_time=2021-03-01T00%3A00%3A00Z&end_time=2021-06-05T00%3A00%3A00Z&granularity=day&next_token=1jzu9lk96azp0b3x7888hrpw8fftxsmypwnzctcz0vi5", 
    status_code = 200L, headers = structure(list(date = "Thu, 24 Jun 2021 18:30:40 UTC", 
        server = "tsa_f", `content-type` = "application/json; charset=utf-8", 
        `cache-control` = "no-cache, no-store, max-age=0", `content-length` = "380", 
        `x-access-level` = "read", `x-frame-options` = "SAMEORIGIN", 
        `content-encoding` = "gzip", `x-xss-protection` = "0", 
        `x-rate-limit-limit` = "300", `x-rate-limit-reset` = "1624560215", 
        `content-disposition` = "attachment; filename=json.json", 
        `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "284", 
        `strict-transport-security` = "max-age=631138519", `x-connection-hash` = "63ce28965bd1a27b2f5c45eb027ca859f6f7f5156939af01614fd6f0e8bb1556"), class = c("insensitive", 
    "list")), all_headers = list(list(status = 200L, version = "HTTP/2", 
        headers = structure(list(date = "Thu, 24 Jun 2021 18:30:40 UTC", 
            server = "tsa_f", `content-type` = "application/json; charset=utf-8", 
            `cache-control` = "no-cache, no-store, max-age=0", 
            `content-length` = "380", `x-access-level` = "read", 
            `x-frame-options` = "SAMEORIGIN", `content-encoding` = "gzip", 
            `x-xss-protection` = "0", `x-rate-limit-limit` = "300", 
            `x-rate-limit-reset` = "1624560215", `content-disposition` = "attachment; filename=json.json", 
            `x-content-type-options` = "nosniff", `x-rate-limit-remaining` = "284", 
            `strict-transport-security` = "max-age=631138519", 
            `x-connection-hash` = "63ce28965bd1a27b2f5c45eb027ca859f6f7f5156939af01614fd6f0e8bb1556"), class = c("insensitive", 
        "list")))), cookies = structure(list(domain = c(".twitter.com", 
    ".twitter.com"), flag = c(TRUE, TRUE), path = c("/", "/"), 
        secure = c(TRUE, TRUE), expiration = structure(c(1687631316, 
        1687631316), class = c("POSIXct", "POSIXt")), name = c("personalization_id", 
        "guest_id"), value = c("REDACTED", "REDACTED")), row.names = c(NA, 
    -2L), class = "data.frame"), content = charToRaw("{\"data\":[{\"end\":\"2021-03-05T00:00:00.000Z\",\"start\":\"2021-03-04T00:00:00.000Z\",\"tweet_count\":3},{\"end\":\"2021-03-06T00:00:00.000Z\",\"start\":\"2021-03-05T00:00:00.000Z\",\"tweet_count\":2},{\"end\":\"2021-03-07T00:00:00.000Z\",\"start\":\"2021-03-06T00:00:00.000Z\",\"tweet_count\":6},{\"end\":\"2021-03-08T00:00:00.000Z\",\"start\":\"2021-03-07T00:00:00.000Z\",\"tweet_count\":0},{\"end\":\"2021-03-09T00:00:00.000Z\",\"start\":\"2021-03-08T00:00:00.000Z\",\"tweet_count\":3},{\"end\":\"2021-03-10T00:00:00.000Z\",\"start\":\"2021-03-09T00:00:00.000Z\",\"tweet_count\":3},{\"end\":\"2021-03-11T00:00:00.000Z\",\"start\":\"2021-03-10T00:00:00.000Z\",\"tweet_count\":3},{\"end\":\"2021-03-12T00:00:00.000Z\",\"start\":\"2021-03-11T00:00:00.000Z\",\"tweet_count\":1},{\"end\":\"2021-03-13T00:00:00.000Z\",\"start\":\"2021-03-12T00:00:00.000Z\",\"tweet_count\":3},{\"end\":\"2021-03-14T00:00:00.000Z\",\"start\":\"2021-03-13T00:00:00.000Z\",\"tweet_count\":0},{\"end\":\"2021-03-15T00:00:00.000Z\",\"start\":\"2021-03-14T00:00:00.000Z\",\"tweet_count\":1},{\"end\":\"2021-03-16T00:00:00.000Z\",\"start\":\"2021-03-15T00:00:00.000Z\",\"tweet_count\":0},{\"end\":\"2021-03-17T00:00:00.000Z\",\"start\":\"2021-03-16T00:00:00.000Z\",\"tweet_count\":5},{\"end\":\"2021-03-18T00:00:00.000Z\",\"start\":\"2021-03-17T00:00:00.000Z\",\"tweet_count\":5},{\"end\":\"2021-03-19T00:00:00.000Z\",\"start\":\"2021-03-18T00:00:00.000Z\",\"tweet_count\":14},{\"end\":\"2021-03-20T00:00:00.000Z\",\"start\":\"2021-03-19T00:00:00.000Z\",\"tweet_count\":3},{\"end\":\"2021-03-21T00:00:00.000Z\",\"start\":\"2021-03-20T00:00:00.000Z\",\"tweet_count\":0},{\"end\":\"2021-03-22T00:00:00.000Z\",\"start\":\"2021-03-21T00:00:00.000Z\",\"tweet_count\":2},{\"end\":\"2021-03-23T00:00:00.000Z\",\"start\":\"2021-03-22T00:00:00.000Z\",\"tweet_count\":2},{\"end\":\"2021-03-24T00:00:00.000Z\",\"start\":\"2021-03-23T00:00:00.000Z\",\"tweet_count\":3},{\"end\":\"2021-03-25T00:00:00.000Z\",\"start\":\"2021-03-24T00:00:00.000Z\",\"tweet_count\":21},{\"end\":\"2021-03-26T00:00:00.000Z\",\"start\":\"2021-03-25T00:00:00.000Z\",\"tweet_count\":8},{\"end\":\"2021-03-27T00:00:00.000Z\",\"start\":\"2021-03-26T00:00:00.000Z\",\"tweet_count\":2},{\"end\":\"2021-03-28T00:00:00.000Z\",\"start\":\"2021-03-27T00:00:00.000Z\",\"tweet_count\":1},{\"end\":\"2021-03-29T00:00:00.000Z\",\"start\":\"2021-03-28T00:00:00.000Z\",\"tweet_count\":1},{\"end\":\"2021-03-30T00:00:00.000Z\",\"start\":\"2021-03-29T00:00:00.000Z\",\"tweet_count\":5},{\"end\":\"2021-03-31T00:00:00.000Z\",\"start\":\"2021-03-30T00:00:00.000Z\",\"tweet_count\":1},{\"end\":\"2021-04-01T00:00:00.000Z\",\"start\":\"2021-03-31T00:00:00.000Z\",\"tweet_count\":2},{\"end\":\"2021-04-02T00:00:00.000Z\",\"start\":\"2021-04-01T00:00:00.000Z\",\"tweet_count\":6},{\"end\":\"2021-04-03T00:00:00.000Z\",\"start\":\"2021-04-02T00:00:00.000Z\",\"tweet_count\":6},{\"end\":\"2021-04-04T00:00:00.000Z\",\"start\":\"2021-04-03T00:00:00.000Z\",\"tweet_count\":4}],\"meta\":{\"total_tweet_count\":116,\"next_token\":\"1jzu9lk96azp0b3x7888hrpw8fftsbrvyadx5sfpjdz1\"}}"), 
    date = structure(1624559440, class = c("POSIXct", "POSIXt"
    ), tzone = "GMT"), times = c(redirect = 0, namelookup = 0.000119, 
    connect = 0.000122, pretransfer = 0.000781, starttransfer = 0.24946, 
    total = 0.249629)), class = "response")
cjbarrie/academictwitteR documentation built on Sept. 7, 2024, 5:12 a.m.