遇见数据集

Habitaclia. Quina població desitges cercar?

收藏
Zenodo2022-11-16 更新2026-05-25 收录
数据链接:
官方服务:

资源简介:

Generate a .csv document with a list of properties taken from the Habitaclia web portal. To run the script, the installation of the following libraries is necessary: pip install requests pip install re pip install beautifulSoup4 pip install csv pip install pandas The script call should be made as follows: python main.py Afterwards, it asks for the population you want to search. This town should be written without accents (e.g. Castellar del valles, Barcelona, Caldes de Montbui). Finally generate a .csv file with a set of columns: Type: Type of property (House, Flat, Chalet...) Size: Square meters of the property Baths: Number of bathrooms in the property Rooms: Number of rooms in the property Price: Price of the property

生成一份收录自Habitaclia门户网站房产属性列表的逗号分隔值(Comma-Separated Values,CSV)文档。运行本脚本前,需安装以下依赖库,依次执行如下安装命令:`pip install requests`、`pip install re`、`pip install beautifulsoup4`、`pip install csv`、`pip install pandas`。本脚本的执行命令为:`python main.py`。运行脚本后,程序将提示输入待搜索的城镇名称,且该名称不得包含重音符号(示例:Castellar del Valles、巴塞罗那、Caldes de Montbui)。最终将生成包含以下字段的CSV文件: - 房产类型(Type):房产的类别(如独栋住宅、公寓、别墅等) - 建筑面积(Size):房产的平方米数 - 浴室数量(Baths):房产内的浴室总数 - 房间数量(Rooms):房产内的房间总数 - 售价(Price):房产的售卖价格

提供机构:
Zenodo
创建时间:
2022-11-16
二维码
社区交流群
二维码
科研交流群
商业服务