https://github.com/mikkelkrogsholm/Rmazon
The goal of Rmazon is to help you download product information and reviews from Amazon.com easily.
https://github.com/mikkelkrogsholm/Rmazon
Last synced: 4 months ago
JSON representation
The goal of Rmazon is to help you download product information and reviews from Amazon.com easily.
- Host: GitHub
- URL: https://github.com/mikkelkrogsholm/Rmazon
- Owner: mikkelkrogsholm
- License: gpl-2.0
- Created: 2016-11-03T21:17:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-21T22:08:40.000Z (over 8 years ago)
- Last Synced: 2024-08-13T07:13:53.409Z (8 months ago)
- Language: R
- Size: 17.6 KB
- Stars: 12
- Watchers: 7
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - mikkelkrogsholm/Rmazon - The goal of Rmazon is to help you download product information and reviews from Amazon.com easily. (R)
README
---
output: github_document
---```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```# Rmazon
The goal of Rmazon is to help you download product information and reviews from Amazon.com easily.
## Installation
You can install Rmazon from github with:
```R
# install.packages("devtools")
devtools::install_github("56north/Rmazon")
```### Example - product information
This is a basic example which shows you how to get product information:
```{r}
# Get product information for 'The Art of R Programming: A Tour of Statistical Software Design'
product_info <- Rmazon::get_product_info("1593273843")# Have a look at the data
product_info
```Lets get the same information, but from the **german** Amazon
```{r}
# Find the appropriate domain
Rmazon::domains$Germany# Then use domain to get german data
product_info_de <- Rmazon::get_product_info("1593273843", domain = "de")
```### Example - product reviews
This is a basic example which shows you how to get reviews:
```{r}
# Get reviews for 'The Art of R Programming: A Tour of Statistical Software Design'
reviews <- Rmazon::get_reviews("1593273843")# Have a look at the data
reviews
```Lets get the same information, but from the **french** Amazon
```{r}
# Find the appropriate domain
Rmazon::domains$France# Then use domain to get german data
reviews_fr <- Rmazon::get_reviews("1593273843", domain = "fr")
```