This respository was made by Jonas Klein, Matthijs van Gils, Marijn Bransen and Dianne Burgess and was commissioned by Hannes Datta, proffesor at Tilburg University as part of the course 'Data Preparation and Workflow Management'.
3
stars
3
forks
source link
write code snippet to download .csv and .csv.gz files from insideairbnb and load into R #4
download the .gz file
url <- "http://data.insideairbnb.com/the-netherlands/north-holland/amsterdam/2022-12-05/data/listings.csv.gz" download.file(url, destfile = "listings.csv.gz")
extract the contents of the .gz file
library(utils) gunzip("listings.csv.gz")
listings <- read.csv("listings.csv")