contratospr-api icon indicating copy to clipboard operation
contratospr-api copied to clipboard

Añadir busqueda de Entidad

Open froi opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Quiero buscar entidades y poder ver detalles del mismo, como contratos y tendencias de ellos.

Describe the solution you'd like A clear and concise description of what you want to happen.

Ingresar un entity id (el id usado por https://consultacontratos.ocpr.gov.pr/) para hacer una busqueda de entidad o contratista especifico.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

  1. Que el campo de buqueda cambie su contexto cuando se este viendo contratos o entidades.
  2. Crear un tipo de DSL para poder hacer busquedas avanzadas. Eg. entity_id: 3125 devolveria Autoridad de Carreteras .... Para esto se tiene que hacer un mapping de enttity_id a source_id.

Additional context Add any other context or screenshots about the feature request here.

La pagina del contralor esta ofreciendo data dumps en formato csv. El nosotros no poder filtrar o buscar por numero de entidad podria ser un problema para nosotros y nuestros usuarios.

froi avatar May 27 '19 03:05 froi

https://github.com/TheIndexingProject/contratospr-api/blob/31d3b8dd6a575057bea145d69f6adc7d3124569c/contratospr/contracts/search.py#L29

No necesariamente se tiene que duplicar pero es un buen ejemplo para comenzar.

froi avatar May 27 '19 03:05 froi

This Issue is being marked as Stale because it has 30 days without any interaction. CC: @froi @jpadilla

github-actions[bot] avatar Feb 23 '20 00:02 github-actions[bot]