Skip to main content

No project description provided

Project description

Dataset de los RNCs de la DGII de República Dominicana

PyPI - Version PyPI - Python Version PyPI - Status changelog

Herramienta sencilla para carga el dataset de los RNCs de la DGII.

Puede ser útil para actualizar rápidamente la información en los flujos de trabajo.

Fuente del dataset: [https://www.dgii.gov.do/app/WebApps/Consultas/RNC/DGII_RNC.zip]

Instalación

>>> pip install dgii-rnc

Dependencias

  • Polars

Modo de Uso

Cargar dataset de RNCs

>>> from dgii_rnc.dgii_rnc import dgii_handler
>>> import polars as pl

>>> df = dgii_handler.rnc_df()

>>> df.shape
(728522, 7)

>>> df.filter(pl.col("NOMBRE").str.contains("BANCO CENTRAL"))
shape: (4, 7)
+-----------+-------------------------------------------------------------------+----------------------------------+--------------------------------+------------+--------------+--------+
| ID        | NOMBRE                                                            | NOMBRE_COMERCIAL                 | CATEGORIA                      | FECHA      | REGIMEN_PAGO | ESTADO |
| ---       | ---                                                               | ---                              | ---                            | ---        | ---          | ---    |
| str       | str                                                               | str                              | str                            | str        | str          | str    |
+========================================================================================================================================================================================+
| 401007551 | BANCO CENTRAL DE LA REPUBLICA DOMINICANA                          | null                             | SERV GRALES DE LA ADM PÚBLICA  | 23/10/1947 | ACTIVO       | NORMAL |
| 430027715 | ARS PLAN SALUD BANCO CENTRAL                                      | ARS BANCO CENTRAL                | ADMINISTRACION DE RIESGOS DE S | 23/06/2003 | ACTIVO       | NORMAL |
| 401508583 | FONDO DE JUBILACIONES Y PENSIONES DEL PERSONAL DEL BANCO CENTRAL  | null                             | ADMINISTRACIÓN DE FONDOS DE PE | 24/02/1999 | ACTIVO       | NORMAL |
| 430118591 | CLUB EMPLEADOS DEL BANCO CENTRAL                                  | CLUB EMPLEADOS DEL BANCO CENTRAL | SERV. DE ORGANIZACIÓN, DIRECCI | 08/09/2011 | ACTIVO       | NORMAL |
+-----------+-------------------------------------------------------------------+----------------------------------+--------------------------------+------------+--------------+--------+

Convertir en dataframe de pandas

>>> df = df.to_pandas()

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

dgii_rnc-0.5.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

dgii_rnc-0.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file dgii_rnc-0.5.tar.gz.

File metadata

  • Download URL: dgii_rnc-0.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for dgii_rnc-0.5.tar.gz
Algorithm Hash digest
SHA256 31e691148215c8f32204efb7e9688b1e73cd09083cff8b483a01b1973acd50ab
MD5 f9b9f1fa7cf50c1b75b2ec5cd0ea1e5b
BLAKE2b-256 b189524eecb9861b938a02c9fa62b9086bb0f7a05fcc99e99e8dd51b12f30590

See more details on using hashes here.

File details

Details for the file dgii_rnc-0.5-py3-none-any.whl.

File metadata

  • Download URL: dgii_rnc-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for dgii_rnc-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bad5efa51f40b5725396de33b838cf58e5b8bafbc84e1a222917f54059403e46
MD5 d1b13aabd19651ad8611b269bb0667e7
BLAKE2b-256 e8a112745ecd81b2e1a3dbc1cd1e2f0a019b039f18e79f2c01716a1b8e55bf44

See more details on using hashes here.

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