Fair Market Rent Explorer

Presentation
11/13/2017

Fair Market Rent Explorer

Explore fair market rents for 2018 in every county in the U.S.

  • Browse the distribution of counties by population and rate
  • Adjust for number of bedrooms
  • Choose the state
  • Explore metro vs. non-metro areas
  • Hover over to see details for each county in tooltip

Inputs -- Bedrooms and State / Territory

shinyUI(fluidPage(
    fluidPage(
     titlePanel("Fair Market Rent Explorer - 2018 Rates. Created 11/13/2017"),
     fluidRow(
         column(3,
                h3("Choose Attributes"),
                selectInput("bedrooms", "Number of Bedrooms",
                           choices=c(0, 1, 2, 3, 4), selected=0, multiple=FALSE),
                selectInput("states", "State/Territory", states1)
                )))))

<!–html_preserve–>

Fair Market Rent Explorer - 2018 Rates. Created 11/13/2017

Choose Attributes

<!–/html_preserve–>

Outputs - Plot

plot of chunk unnamed-chunk-3

Lessons Learned

Development

  • GGVis is a great library to do visualizations.
  • Tooltip was easy to implement as a separate function
  • GGVis does not work in RPresenter (had to display static image)

Data

  • There is no easy linear relationship between population and rent for either metro or non-metro areas
  • Patterns in the data can be analyzed in a future project.