From 05ab24493631864f4d2760e7a937a4b760096b19 Mon Sep 17 00:00:00 2001 From: Eryk Date: Mon, 22 May 2017 22:49:21 +0100 Subject: [PATCH] cleaned --- R/area_zed_indices.R | 2 +- R/geo_autocomplete.R | 2 +- man/property_listings.Rd | 4 ++-- man/refine_estimate.Rd | 6 +++++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/R/area_zed_indices.R b/R/area_zed_indices.R index 4d3c9ca..b5b3f4e 100755 --- a/R/area_zed_indices.R +++ b/R/area_zed_indices.R @@ -1,6 +1,6 @@ #' Area Zed-Indices #' -#' @importFrom dplyr `%>%` +#' @import dplyr #' @import httr #' @import XML #' diff --git a/R/geo_autocomplete.R b/R/geo_autocomplete.R index 8206dd2..c6f9eb5 100755 --- a/R/geo_autocomplete.R +++ b/R/geo_autocomplete.R @@ -1,6 +1,6 @@ #' Geo Autocomplete #' -#' @importFrom dplyr `%>%` +#' @import dplyr #' @import httr #' @import XML #' diff --git a/man/property_listings.Rd b/man/property_listings.Rd index d119d44..ae134d8 100644 --- a/man/property_listings.Rd +++ b/man/property_listings.Rd @@ -22,8 +22,8 @@ Property Listings \examples{ \dontrun{ -property_listings(postcode = "E1", API_key = APIKEY) -property_listings(area = "Nottingham", API_key = APIKEY) +property_listings(postcode = "E1", API_key = "YOUR_API_KEY") +property_listings(area = "Nottingham", API_key = "YOUR_API_KEY") } } diff --git a/man/refine_estimate.Rd b/man/refine_estimate.Rd index 39d0edc..40434d6 100644 --- a/man/refine_estimate.Rd +++ b/man/refine_estimate.Rd @@ -4,7 +4,8 @@ \alias{refine_estimate} \title{Refine Estimate} \usage{ -refine_estimate() +refine_estimate(API_key, session, property_id, property_type, tenure, + num_bedrooms, num_bathrooms, num_receptions) } \arguments{ \item{API_key}{An API key from Zoopla.} @@ -18,6 +19,9 @@ Refine Estimate \examples{ \dontrun{ +sid <- get_session_id(APIKEY) + +# if the values provided are incorrect then error 400 is returned refine_estimate() }