Skip to content

Commit 18c7847

Browse files
committed
https to https based on CRAN feedback
1 parent 24d8f17 commit 18c7847

34 files changed

+96
-85
lines changed

CRAN-RELEASE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This package was submitted to CRAN on 2020-10-29.
2+
Once it is accepted, delete this file and tag the release (commit 24d8f17).

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# aws.alexa 0.1.8
22

3+
* moved http -> https
34
* fixes in_links to reflect changes in the object that is returned
45

56
# aws.alexa 0.1.7

R/browse_categories.R

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#' Browse Categories
22
#'
33
#' Uses data from dmoz.org, which is no longer updated.
4-
#'
4+
#'
55
#' @param response_group String; Required; One of the following: Categories, RelatedCategories, LanguageCategories, LetterBars
66
#' @param path String; Required; valid category path
77
#' @param description Boolean; Optional; Whether or not to return descriptions of categories; Default is TRUE
88
#' @param \dots Additional arguments passed to \code{\link{alexa_GET}}.
9-
#'
9+
#'
1010
#' @return data.frame with 5 columns: \code{path, title, sub_category_count, total_listing_count, description}
11-
#'
11+
#'
1212
#' @export
13-
#' @references \url{http://docs.aws.amazon.com/AlexaWebInfoService/latest/index.html?ApiReference_CategoryBrowseAction.html}
13+
#' @references \url{https://docs.aws.amazon.com/AlexaWebInfoService/latest/index.html?ApiReference_CategoryBrowseAction.html}
1414
#' @examples \dontrun{
1515
#' browse_categories(path="Top/Arts")
1616
#' }
@@ -39,7 +39,7 @@ browse_categories <- function(path = NULL, response_group = "Categories",
3939

4040
browse_cat <- alexa_GET(query, ...)
4141

42-
bind_rows(lapply(browse_cat[[1]]$CategoryBrowseResult$Alexa$CategoryBrowse$Categories, function(x)
42+
bind_rows(lapply(browse_cat[[1]]$CategoryBrowseResult$Alexa$CategoryBrowse$Categories, function(x)
4343
c(path = x$Path,
4444
title = x$Title,
4545
sub_category_count = x$SubCategoryCount,

R/category_listing.R

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
#' Category Listing
22
#'
3-
#' Uses data from dmoz.org, which is no longer updated. For any given category,
3+
#' Uses data from dmoz.org, which is no longer updated. For any given category,
44
#' it returns a list of site listings contained within that category.
5-
#'
5+
#'
66
#' @param path String; Required; valid category path
7-
#' @param description Boolean; Optional; Whether or not to return descriptions
7+
#' @param description Boolean; Optional; Whether or not to return descriptions
88
#' of categories; Default is TRUE
9-
#' @param sort_by sort results by Popularity, Title, or AverageReview
10-
#' @param recursive Boolean; Whether to return listings for the current
11-
#' category only, or for the current category plus all subcategories,
9+
#' @param sort_by sort results by Popularity, Title, or AverageReview
10+
#' @param recursive Boolean; Whether to return listings for the current
11+
#' category only, or for the current category plus all subcategories,
1212
#' Default is TRUE
1313
#' @param start index of result at which to start; default is 0
14-
#' @param count Number of results to return for this request;
14+
#' @param count Number of results to return for this request;
1515
#' Max = 20; Default = 20
1616
#' @param \dots Additional arguments passed to \code{\link{alexa_GET}}.
17-
#'
17+
#'
1818
#' @return data.frame
19-
#'
19+
#'
2020
#' @export
21-
#' @references \url{http://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_CategoryListingsAction.html}
21+
#' @references \url{https://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_CategoryListingsAction.html}
2222
#' @examples \dontrun{
2323
#' category_listing(path="Top/Arts")
2424
#' }
@@ -50,7 +50,7 @@ category_listing <- function(path = NULL, sort_by = "Popularity",
5050
cat_list <- alexa_GET(query, ...)
5151

5252
bind_rows(lapply(cat_list[[1]]$CategoryListingsResult$Alexa$CategoryListings$Listings,
53-
function(x)
53+
function(x)
5454
c(data_url = x$DataUrl,
5555
popularity_rank = x$PopularityRank,
5656
title = x$Title,

R/in_links.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#' @return data.frame with two columns: title (site hostname) and url (specific url)
1010
#'
1111
#' @export
12-
#' @references \url{http://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_SitesLinkingInAction.html}
12+
#' @references \url{https://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_SitesLinkingInAction.html}
1313
#' @examples \dontrun{
1414
#' in_links(url = "google.com")
1515
#' }

R/traffic_history.R

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#' Get Traffic History of a URL
22
#'
33
#' @param url String; Required; valid url
4-
#' @param range Integer; Required; Default is 31, Maximum is 31. Pick an integer between 1 and 31.
4+
#' @param range Integer; Required; Default is 31, Maximum is 31. Pick an integer between 1 and 31.
55
#' @param start String; Optional; A date within the last 4 years in format YYYYMMDD.
66
#' @param \dots Additional arguments passed to \code{\link{alexa_GET}}.
7-
#'
8-
#' @return data.frame with the following columns: \code{site, start, range,
7+
#'
8+
#' @return data.frame with the following columns: \code{site, start, range,
99
#' date, page_views_per_million, page_views_per_user, rank, reach_per_million}
10-
#'
10+
#'
1111
#' @export
12-
#' @references \url{http://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_TrafficHistoryAction.html}
13-
#'
12+
#' @references \url{https://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_TrafficHistoryAction.html}
13+
#'
1414
#' @examples \dontrun{
1515
#' traffic_history(url = "http://www.google.com", start = "20160505")
1616
#' }
@@ -37,7 +37,7 @@ traffic_history <- function(url = NULL, range = 31, start = NULL, ...) {
3737

3838
res <- bind_rows(lapply(
3939
traffic_payload[[1]]$TrafficHistoryResult[[1]]$TrafficHistory$HistoricalData,
40-
function(x)
40+
function(x)
4141
c(date = x$Date,
4242
page_views_per_million = x$PageViews$PerMillion,
4343
page_views_per_user = x$PageViews$PerUser,

R/url_info.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#' Get Information about a URL
22
#'
33
#' @param url String; Required; valid url
4-
#' @param response_group String; Required; One of the following: RelatedLinks, Categories, Rank,
4+
#' @param response_group String; Required; One of the following: RelatedLinks, Categories, Rank,
55
#' RankByCountry, UsageStats, AdultContent, Speed, Language, OwnedDomains, LinksInCount, SiteData
66
#' Default is 'SiteData'. Multiple fields can be passed. They must be separated by comma.
77
#' @param \dots Additional arguments passed to \code{\link{alexa_GET}}.
8-
#'
8+
#'
99
#' @return named list
1010
#' @export
11-
#' @references \url{http://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_UrlInfoAction.html}
11+
#' @references \url{https://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_UrlInfoAction.html}
1212
#' @examples \dontrun{
1313
#' url_info(url = "http://www.google.com")
1414
#' }

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# R Client for the Alexa Web Information Services API
22

3-
Use the [Alexa Web Information Service API](http://docs.aws.amazon.com/AlexaWebInfoService/latest/) to find information about domains, including the kind of content that they carry, how popular are they---rank and traffic history, sites linking to them, among other things.
3+
Use the [Alexa Web Information Service API](https://docs.aws.amazon.com/AlexaWebInfoService/latest/) to find information about domains, including the kind of content that they carry, how popular are they---rank and traffic history, sites linking to them, among other things.
44

5-
To use the package, you will need an AWS account and enter your credentials into R. Your keypair can be generated on the [IAM Management Console](https://aws.amazon.com/) under the heading *Access Keys*. Note that you only have access to your secret key once. After it is generated, you need to save it in a secure location. New keypairs can be generated at any time if yours has been lost, stolen, or forgotten.
5+
To use the package, you will need an AWS account and enter your credentials into R. Your keypair can be generated on the [IAM Management Console](https://aws.amazon.com/) under the heading *Access Keys*. Note that you only have access to your secret key once. After it is generated, you need to save it in a secure location. New keypairs can be generated at any time if yours has been lost, stolen, or forgotten.
66

77
By default, all **cloudyr** packages look for the access key ID and secret access key in environment variables. You can also use this to specify a default region. For example:
88

@@ -31,9 +31,9 @@ Scripts are released under the [MIT License](https://opensource.org/licenses/MIT
3131

3232
[![Build Status](https://travis-ci.org/cloudyr/aws.alexa.svg?branch=master)](https://travis-ci.org/cloudyr/aws.alexa)
3333
[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/yh856e6cv7uucaj2?svg=true)](https://ci.appveyor.com/project/cloudyr/aws.alexa)
34-
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/aws.alexa)](https://cran.r-project.org/package=aws.alexa)
35-
![](http://cranlogs.r-pkg.org/badges/grand-total/aws.alexa)
36-
[![codecov.io](http://codecov.io/github/cloudyr/aws.alexa/coverage.svg?branch=master)](http://codecov.io/github/cloudyr/aws.alexa?branch=master)
34+
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/aws.alexa)](https://cran.r-project.org/package=aws.alexa)
35+
![](https://cranlogs.r-pkg.org/badges/grand-total/aws.alexa)
36+
[![codecov.io](https://codecov.io/github/cloudyr/aws.alexa/coverage.svg?branch=master)](https://codecov.io/github/cloudyr/aws.alexa?branch=master)
3737

3838
This package is not yet on CRAN. To install the latest development version you can install from the cloudyr drat repository:
3939

docs/404.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CONTRIBUTING.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ISSUE_TEMPLATE.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE-text.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/index.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/overview.html

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/authors.html

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/news/index.html

+9-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)