Browse Source

Import pipe, housekeeping

master
Lukas Burk 2 years ago
parent
commit
90a0b47bc9
Signed by: lukas GPG Key ID: 044E8B20BB186F81
6 changed files with 36 additions and 8 deletions
  1. +7
    -4
      DESCRIPTION
  2. +1
    -1
      LICENSE
  3. +2
    -0
      NAMESPACE
  4. +11
    -0
      R/utils-pipe.R
  5. +12
    -0
      man/pipe.Rd
  6. +3
    -3
      man/trakt.get_full_showdata.Rd

+ 7
- 4
DESCRIPTION View File

@ -1,14 +1,15 @@
Type: Package
Package: tRakt
Title: Pull Data from 'trakt.tv'
Version: 0.13.0
Title: Get Data from 'trakt.tv'
Version: 0.13.9000
Date: 2019-02-19
Authors@R:
person(given = "Lukas Burk",
role = c("aut", "cre"),
email = "lukas@tadaa-data.de")
Description: A wrapper for the trakt.tv APIv2 which uses httr
and jsonlite to send non-OAuth2 requests and receive tidied data.
and jsonlite to send non-OAuth2 requests and receive tidied data about tv shows
and movies, including titles, user ratings and related metadata.
License: MIT + file LICENSE
URL: http://github.com/jemus42/tRakt
BugReports: http://github.com/jemus42/tRakt/issues
@ -19,7 +20,9 @@ Imports:
jsonlite (>= 0.9.14),
lubridate,
plyr (>= 1.8.1),
stringr
stringr,
magrittr,
purrr
Suggests:
dplyr (>= 0.4.1),
ggplot2,


+ 1
- 1
LICENSE View File

@ -1,2 +1,2 @@
YEAR: 2015
YEAR: 2019
COPYRIGHT HOLDER: Lukas Burk

+ 2
- 0
NAMESPACE View File

@ -1,5 +1,6 @@
# Generated by roxygen2: do not edit by hand
export("%>%")
export(build_trakt_url)
export(get_trakt_credentials)
export(pad)
@ -44,6 +45,7 @@ importFrom(jsonlite,fromJSON)
importFrom(lubridate,origin)
importFrom(lubridate,parse_date_time)
importFrom(lubridate,year)
importFrom(magrittr,"%>%")
importFrom(stats,sd)
importFrom(stringr,str_match)
importFrom(stringr,str_replace)


+ 11
- 0
R/utils-pipe.R View File

@ -0,0 +1,11 @@
#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @usage lhs \%>\% rhs
NULL

+ 12
- 0
man/pipe.Rd View File

@ -0,0 +1,12 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-pipe.R
\name{\%>\%}
\alias{\%>\%}
\title{Pipe operator}
\usage{
lhs \%>\% rhs
}
\description{
See \code{magrittr::\link[magrittr]{\%>\%}} for details.
}
\keyword{internal}

+ 3
- 3
man/trakt.get_full_showdata.Rd View File

@ -23,9 +23,9 @@ functions in this package. The idea is to easily execute all major functions
required to get a full show dataset.
}
\note{
This is primarily intended to be a convenience function for the case where you
really want all that data. If you're just derping around, maybe you should consider interactively
calling the other functions.
This is primarily intended to be a convenience function for the
case where you really want all that data. If you're just derping around, maybe you
should consider interactively calling the other functions.
}
\examples{
\dontrun{


Loading…
Cancel
Save