Authors: Daniel Herrera & Rodrigo GonzΓ‘lez
Date: 22/02/2024
The project is an observational study of Airbnb data from the city of Barcelona, aimed at extracting insights and drawing conclusions within the context of the city's increasingly saturated tourism industry and strained housing market. Our data-driven approach is complemented by an analysis of local policies and the latest information from Spanish media on the subject, ensuring a comprehensive perspective. The project has been developed using a GitHub repository to facilitate collaboration across multiple devices and to ensure reproducibility of the results.
- π 'Archive': Contains older versions of the code, as well as drafts for R expressions.
- π 'Assets': Holds images embedded in the RMarkdown report.
- π 'Barcelona-AirBnB-Insights_cache': Caches some of the plots (especially maps) to speed up the knitting process.
- π 'Barcelona-AirBnB-Insights_files': Contains files relevant to the RMarkdown script.
- π 'Data': Contains the data sources used for analysis.
- π
Barcelona-AirBnB-Insights.html
: The exported report in HTML. - π
Barcelona-AirBnB-Insights.pdf
: The exported report in PDF. - π
Barcelona-AirBnB-Insights.Rmd
: The main RMarkdown file for the report. - π
README.md
: This file, providing an overview of the project.
- π Working Directory: The R working directory (wd) is configured to be the directory of the file itself, ensuring it looks for the data sets there.
- π Automatic Data Import: The R code automatically creates data frames assigned to variables from the contents of the 'Data' folder, as long as they include the
listings.csv
file. This import workflow was initially designed for a project covering multiple cities' data. - π API Import: The second data set, imported via API, can be found in
2023_pad_mdbas_sexe.csv
in the 'Data' folder as an alternative import source.