Coder Social home page Coder Social logo

dscpsyl / ucsb-ivtu-rental-aggregator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 55 KB

Python application to retrieve rental information from major rental companies in the SB, CA, USA area. This is one method of automating data surveying.

Home Page: https://ivtu.as.ucsb.edu/

License: GNU General Public License v3.0

Python 100.00%

ucsb-ivtu-rental-aggregator's Introduction

UCSB - AS - IVTU - 2023

Data aggregator for IV / Goleta / Santa Barbara / UCSB (CA, USA) rentals from major rental sites. The only problem is that some method of aggregation is not completely fool-proof. If an upate to a website is made, the aggregator might need to be updated.

In the future, this will be worked on in conjunction with ratemyivrental.com

Database

The data is stored in a mongoDB database that is persistent and can only be accessed by this application with the correct credentials. The data can be requested by the application and sent via a history class. Currently, it uses MongoDB Atlas for development.

In the cluser, each database has a part of the full information on the specific property. The following databases are in the cluser are:

  • rental-data : Contains the data infromation for each address
  • rental-history : Contains specifically the rent history for each address

For each database, the collections are identified by the rental company name. This will monst likely be changed to a hash for better "performance". Each document in the collection is a seperate address with the following structure:

//rental-data
{
    "adddress" : "123 Main St",
    "beds" :  "2",
    "baths" : "2",
    "tenants" : "4",
}
//rental-history
{
    "adddress" : "123 Main St",
    "history" : {
        //date : price
        "12/20/05" : "1050",
        "01/28/19" : "2400.78",
        //...
    }
}

If a certain field is not found in the aggregation, it will be set to a string of -1. This is to make it easier to parse the data later on.

For security, any changes to the DB structure will be made outside of the program and the program itself will never be given the option to change the structure of the DB. It can only read the structure and write documents, and create clusters to the DB.

Current Sites

Currently the following sites are in development:

Future Sites

The following sites are planned to be added in the future:

ucsb-ivtu-rental-aggregator's People

Contributors

dscpsyl avatar

Watchers

 avatar

ucsb-ivtu-rental-aggregator's Issues

Pymongoarrow

USe pymongoarrow for retrieving mongodb data to numpy and pandas DF

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.