ganalytics (version 0.10.7)

DateRange: DateRange

Description

Get the date range.

Set the date range.

Usage

DateRange(object, endDate)

DateRange(object) <- value

# S4 method for character StartDate(object)

# S4 method for character EndDate(object)

# S4 method for dateRange StartDate(object)

# S4 method for dateRange EndDate(object)

# S4 method for Interval StartDate(object)

# S4 method for Interval EndDate(object)

# S4 method for .standardQuery StartDate(object)

# S4 method for .standardQuery EndDate(object)

# S4 method for gaView StartDate(object)

# S4 method for gaView EndDate(object)

# S4 method for dateRange StartDate(object) <- value

# S4 method for dateRange EndDate(object) <- value

# S4 method for .standardQuery StartDate(object) <- value

# S4 method for .standardQuery EndDate(object) <- value

# S4 method for ANY,ANY DateRange(object, endDate)

# S4 method for ANY,missing DateRange(object)

# S4 method for .standardQuery,missing DateRange(object)

# S4 method for .standardQuery DateRange(object) <- value

# S4 method for gaView,ANY DateRange(object)

# S4 method for ANY DateRange(object) <- value

Arguments

object

The start date of the date range or a object to coerce to a date range. Alternatively, a .query object to replace the date range of.

endDate

The end date of the date range. Alternatively, if object is a .query object, then endDate is the replacement date range.

value

The replacement date range.

Methods (by class)

  • character: Coerce a character vector into a Google Analytics date object.

  • character: Coerce a character vector into a Google Analytics date object.

  • dateRange: Return the start dates of a date range vector.

  • dateRange: Return the end dates of a date range vector.

  • Interval: Return the start dates of a date range vector.

  • Interval: Return the end dates of a date range vector.

  • .standardQuery: Return the start dates of a query's date range vector.

  • .standardQuery: Return the end dates of a query's date range vector.

  • gaView: Get the date when a view first started receiving hits.

  • gaView: Get the last day a view received hits.

  • dateRange: Set a new start date for a date range.

  • dateRange: Set a new end date for a date range.

  • .standardQuery: Set a new start date for a query.

  • .standardQuery: Set a new end date for a query.

  • object = ANY,endDate = ANY: generates a date range object using the supplied vectors of start date and end dates.

  • object = ANY,endDate = missing: Returns the date range of the given query or coerces the supplied object into a dateRange.

  • object = .standardQuery,endDate = missing: Returns the date range of the given query.

  • .standardQuery: Modify the date range of the given query.

  • object = gaView,endDate = ANY: Returns the maximum date range of when a view has been receiving hits.

  • ANY: Change the date range of the date range object using the dates supplied in a vector of length 2, where the first element is the start date and second being the end date.

See Also

Other date range functions: Cohort, EndDate, SplitDateRange, StartDate

Other date range functions: Cohort, EndDate, SplitDateRange, StartDate