Szymon Woźniak
		
	commited on
		
		
					Commit 
							
							·
						
						5c9a6f2
	
1
								Parent(s):
							
							61db6fe
								
add description and version
Browse files
    	
        airbnb.py
    CHANGED
    
    | 
         @@ -23,8 +23,11 @@ _CITATION = """\ 
     | 
|
| 23 | 
         
             
              url          = {https://doi.org/10.5281/zenodo.4446043}
         
     | 
| 24 | 
         
             
            }"""
         
     | 
| 25 | 
         | 
| 26 | 
         
            -
            _DESCRIPTION = """
         
     | 
| 27 | 
         
            -
             
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 28 | 
         | 
| 29 | 
         
             
            _CITIES = [
         
     | 
| 30 | 
         
             
                "Amsterdam",
         
     | 
| 
         @@ -124,7 +127,8 @@ class Airbnb(datasets.GeneratorBasedBuilder): 
     | 
|
| 124 | 
         
             
                        features=features,
         
     | 
| 125 | 
         
             
                        supervised_keys=None,
         
     | 
| 126 | 
         
             
                        homepage="https://zenodo.org/record/4446043#.ZEV8d-zMI-R",
         
     | 
| 127 | 
         
            -
                        citation=_CITATION
         
     | 
| 
         | 
|
| 128 | 
         
             
                    )
         
     | 
| 129 | 
         | 
| 130 | 
         
             
                def _split_generators(self, dl_manager):
         
     | 
| 
         | 
|
| 23 | 
         
             
              url          = {https://doi.org/10.5281/zenodo.4446043}
         
     | 
| 24 | 
         
             
            }"""
         
     | 
| 25 | 
         | 
| 26 | 
         
            +
            _DESCRIPTION = """\
         
     | 
| 27 | 
         
            +
            This dataset contains accommodation offers from the AirBnb platform from 10 European cities.
         
     | 
| 28 | 
         
            +
            It has been copied from https://zenodo.org/record/4446043#.ZEV8d-zMI-R to make it available as a Huggingface Dataset.
         
     | 
| 29 | 
         
            +
            It was originally published as supplementary material for the article: Determinants of Airbnb prices in European cities: A spatial econometrics approach
         
     | 
| 30 | 
         
            +
            (DOI: https://doi.org/10.1016/j.tourman.2021.104319)"""
         
     | 
| 31 | 
         | 
| 32 | 
         
             
            _CITIES = [
         
     | 
| 33 | 
         
             
                "Amsterdam",
         
     | 
| 
         | 
|
| 127 | 
         
             
                        features=features,
         
     | 
| 128 | 
         
             
                        supervised_keys=None,
         
     | 
| 129 | 
         
             
                        homepage="https://zenodo.org/record/4446043#.ZEV8d-zMI-R",
         
     | 
| 130 | 
         
            +
                        citation=_CITATION,
         
     | 
| 131 | 
         
            +
                        version=datasets.Version("2.0.0"),
         
     | 
| 132 | 
         
             
                    )
         
     | 
| 133 | 
         | 
| 134 | 
         
             
                def _split_generators(self, dl_manager):
         
     |