Skip to main content

Libreria para extraccion de precios SNIIM

Project description

Autores:

  • MC. Rodolfo Lopez
  • Dr. Oscar de la Torre
  • Dr. Felipe Andoni

Descripcion:

  • Libreria para la extraccion de precios de granos, frutas y hortalizas del SNIIM.

Requerimientos:

  • pip install pymongo

Uso:

  • import sniimapp

  • sniim = sniimapp.SNIIM('granos', '01/01/2018', '22/01/2018')

  • data = sniim.get_data()

  • print(data[1])

  • print(data.explain())

Para hacer una consulta se debe crear un objeto SNIIM(producto[fyh,granos], fecha_inicial, fecha_fina):

  • sniim = sniimapp.SNIIM('fyh', '01/01/2018', '22/01/2018')

La funcion get_data() regresa un objeto cursor Mongo con el cual se puede interactur con los datos. Para mas informaciion sobre cursor Mongo visite Tools for iterating over MongoDB query results

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sniimapp-0.0.31.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

sniimapp-0.0.31-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page