README.md

R-CMD-check test-coverage Codecov test coverage Project Status: Active – The project has reached a stable, usable state and is being actively developed.

R.vengers

R.vengers is a package to wrap the RESTful API http://www.omdbapi.com/.

The OMDb API is a RESTful web service to obtain movie information, all content and images on the site are contributed and maintained by their users. For more information, visit their website: http://www.omdbapi.com/

The API for the OMDb webservices can be accessed here: http://www.omdbapi.com/

Below, users will find instructions on how to use functions to return information about movies, tv-series, or games. - The 'Table of Functions' provides a brief summary of each function in this package. - Additionally, a detailed tutorial with examples is provided in the vignette.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
# update packages if necessary

devtools::install_github("naveen-chalasani/R.vengers")

By default, devtools::install_github() will not build vignettes. You can force building with below code

# reference : https://r-pkgs.org/vignettes.html
devtools::install_github("naveen-chalasani/R.vengers", build_vignettes = TRUE)

Example

This is a basic example which shows how to use functions from this package.

```{r example} library(R.vengers)

avengers_movies() surprise_me() ```

Table of Functions

| Function | Description | |:--|:-----| | avengers_movies | returns a dataframe with information of all Marvel Avengers movies | | get_top10_recommendations | returns a dataframe of the top 10 recommended movies/tv-series based on specified genre | | surprise_me | returns a dataframe with titles and information to a random list of movies/tv-series based on specified genre | | get_actors | returns a dataframe with a column containing the actors of a movie, tv-series, or game | | get_awards | returns a dataframe with a column containing the awards won by a movie, tv-series, or game | | get_director | returns a dataframe with a column containing the director(s) of a movie, tv-series, or game | | get_genre | returns a dataframe with a column containing the genre(s) of a movie, tv-series, or game | | get_poster | returns a dataframe with a column containing the link to a visual poster of a movie, tv-series, or game | | get_rating | returns a dataframe with a column containing the IMDB Rating of a movie, tv-series, or game | | get_runtime | returns a dataframe with a column containing the runtime of a movie, tv-series, or game | | get_writer | returns a dataframe with a column containing the writer(s) of a movie, tv-series, or game | | read_plot | returns a dataframe with a column containing the full plot of a movie, tv-series, or game | | search_all | returns a dataframe with attributes and information to a list of movies, tv-series, or games |

Code of Conduct

Please note that the R.vengers project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



naveen-chalasani/R.vengers documentation built on March 3, 2021, 3:34 p.m.