0.1.0 • Published 6 years ago

uda-databox v0.1.0

Weekly downloads
6
License
-
Repository
github
Last release
6 years ago

Uda Data Box

Data component of Urban Data Analytics. It is simply a container that will have the values obtained for the following text literals:

  • Price calculated by the system (uDA value).
  • Algorithm used for calculation (Method).
  • Accuracy of the algorithm (Accuracy).
  • Average neighborhood price (uDA Typology / Neighborhood).
  • Average price of the city (uDA City).

They are values brought in the answers to the calls to the API, which is really the consequence of the search by address or by cadastral reference.

You can receive the coordinates to other UDA components (Uda Search Box) or external components (hard-coded).

Getting Started with Uda Data Box

To start with udaDataBox, first, you have to install the npm package.

$ npm install --¿Uda Data Box?

Props

The props you can configurate are the following ones:

Proptypedescription
background-colortextdesired color of the component box or gray reflected in the default design, if not specified.
coordinates (lat/lon)number
operationnumberit can be a 1 (for sale) or a 0 (for rent)
areanumber
property_typenumber
construction_typenumber
roomsnumber
energy_certnumber
storagenumber
garagenumber
poolnumber
acnumber
elevatornumber
outsidenumber
agencynumber
bathroomsnumber
common_zonesnumber
orientation_northnumber
orientation_southnumber
orientation_eastnumber
orientation_westnumber
statusnumber

Dependences

Axios for API calls (http://pre.urbandataanalytics.com/reds/api)

How to use it

Interesting Data

  • To make the flow of calls to the api you need: authorization through token and a portfolioId.
  • UdaData box is made with inline Styling.

Tech

Uda Data Box uses a number of open source projects to work properly:

Authors