Parece que este manual ya no funciona por un cambio de formato en la web, se está trabajando en otra alternativa aquí: https://code.montera34.com/ekaitz/donostiaairbnb
Estos son los pasos a dar para descargar los datos del mapa oficial del Ayuntamiento de Donostia y analizarlos:
div
del mapa) y convertirlo con https://beautifier.io/ u otra herramienta para poner en varias líneas el javascript. El resultado será algo como esto: https://github.com/montera34/airbnbeuskadi/blob/master/data/original/vut-donostia/censo-viviendas-turisticas-donostia-20180914.jscsv
https://github.com/montera34/airbnbeuskadi/blob/426d107a4bdf2eded5809b3ca619144faa669019/scraping/ea.donostia.vut.get.sh1) Import it by Layer → Add delimited text layer.
The next dialogue should be fairly self explanatory. After clicking OK from this dialogue you will be asked for the coordinate system of your input coordinates. You can work through the list or use the Filter box to help find the right projection.
2) Once it's imported right click on the layer in the Layers panel, and choose “Save as”.
3) Save it as a shapefile, and change “Layer CRS” to “Selected CRS”, then browse the projections to find WGS84 EPSG:4326. Select to add it to the map and click ok.
4) Once your new shapefile is created, right click on it the layer's dialogue and “Open Attribute Table”. Toggle editing (ctrl-E) and open the calculator (ctrl-I). Select “create a new field”, call it “Longitude”, and make the expression $x. Do the same for a second new attribute called “Latitude” and make the expression $y.