Description Usage Arguments Value Examples
View source: R/Get_ZHVI_series.R View source: R/R/Get_ZHVI_series.R
Reads the static .csv file for Zillow Home Values series by type and geography, building a URL path to the .csv file. Options are available for a variety of home sizes and types, as well as tiers if you wish to view other data that is aggregated. The return is a dataframe with time series observations aggregated by region.
1 2 | get_ZHVI_series(bedrooms = 1, geography = "Metro", allhomes = F,
tier = "ALL", summary = F, other = NULL)
|
bedrooms |
a numeric value specifying the number of bedrooms. If not needed, leave at the default (1) |
geography |
(required) string specifying the desired geographic region to summarise. Choices are 'Metro', 'City', 'State', 'Neighborhood', 'Zip', and 'County'. |
allhomes |
logical, set to |
tier |
one of 'ALL','T' (for top), 'B' (for bottom), or 'M' (for median) |
summary |
logical, if |
other |
Other possible options from the Zillow home data series. Default is |
A tibble. Columns returned correspond to geographic identification information and dates for which the time series observations are available.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #All homes, bottom tier, by zipcode
## Not run:
get_ZHVI_series(allhomes=TRUE, tier="B",geography="Zip")
## End(Not run)
#2 bedrooms by city
## Not run:
get_ZHVI_series(bedrooms=2,geography="City")
## End(Not run)
#the ZHVI summary for all homes by State
## Not run:
get_ZHVI_series(geography="State", summary=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.