Description Usage Arguments Value Examples
get National Home Price Index data
| 1 | get_US_hpi(usfile, from_year = NULL, out.Monthly = TRUE)
 | 
| usfile | The filename for the data downloaded from "https://www.fhfa.gov/DataTools/Downloads/Documents/HPI/HPI_AT_us_and_census.csv". If this is null, the function will connect to the download site. | 
| from_year | Four digits representing the data starting year. | 
| out.Monthly | TRUE means Monthly data, FASLE means Quarterly data. | 
data in the data.table format with columns (State, Date, Index)
| 1 2 3 4 |       #  get recent National (US) Home Price Index (monthly) since 2010
      ushpi_m    <- get_US_hpi(from_year=2010, out.Monthly=TRUE)
      #  get recent National (US) Home Price Index (quarterly) since 2000
      ushpi_Q    <- get_US_hpi(from_year=2000, out.Monthly=FALSE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.