# Dataset de los RNCs de la DGII de República Dominicana
[![PyPI - Version](https://img.shields.io/pypi/v/dgii-rnc)](https://pypi.org/project/dgii-rnc/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dgii-rnc)](https://www.python.org/downloads/)
![PyPI - Status](https://img.shields.io/pypi/status/dgii-rnc) [![changelog](https://img.shields.io/badge/changelog-5A5A5A)](./CHANGELOG.md)
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
```python
>>> pip install dgii-rnc
```
## Dependencias
- Polars
## Modo de Uso
### Cargar dataset de RNCs
```python
>>> 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
```python
>>> df = df.to_pandas()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/lcgarc1a/dgii_rnc",
"name": "dgii-rnc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "dgii,rnc",
"author": "Luis C Garcia",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/b1/89/524eecb9861b938a02c9fa62b9086bb0f7a05fcc99e99e8dd51b12f30590/dgii_rnc-0.5.tar.gz",
"platform": null,
"description": "# Dataset de los RNCs de la DGII de Rep\u00fablica Dominicana\r\n\r\n[![PyPI - Version](https://img.shields.io/pypi/v/dgii-rnc)](https://pypi.org/project/dgii-rnc/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dgii-rnc)](https://www.python.org/downloads/)\r\n ![PyPI - Status](https://img.shields.io/pypi/status/dgii-rnc) [![changelog](https://img.shields.io/badge/changelog-5A5A5A)](./CHANGELOG.md)\r\n\r\nHerramienta sencilla para carga el dataset de los RNCs de la DGII.\r\n\r\nPuede ser \u00fatil para actualizar r\u00e1pidamente la informaci\u00f3n en los flujos de trabajo.\r\n\r\nFuente del dataset: [https://www.dgii.gov.do/app/WebApps/Consultas/RNC/DGII_RNC.zip]\r\n\r\n## Instalaci\u00f3n\r\n\r\n```python\r\n>>> pip install dgii-rnc\r\n```\r\n\r\n## Dependencias\r\n\r\n- Polars\r\n\r\n## Modo de Uso\r\n\r\n### Cargar dataset de RNCs\r\n\r\n```python\r\n>>> from dgii_rnc.dgii_rnc import dgii_handler\r\n>>> import polars as pl\r\n\r\n>>> df = dgii_handler.rnc_df()\r\n\r\n>>> df.shape\r\n(728522, 7)\r\n\r\n>>> df.filter(pl.col(\"NOMBRE\").str.contains(\"BANCO CENTRAL\"))\r\nshape: (4, 7)\r\n+-----------+-------------------------------------------------------------------+----------------------------------+--------------------------------+------------+--------------+--------+\r\n| ID | NOMBRE | NOMBRE_COMERCIAL | CATEGORIA | FECHA | REGIMEN_PAGO | ESTADO |\r\n| --- | --- | --- | --- | --- | --- | --- |\r\n| str | str | str | str | str | str | str |\r\n+========================================================================================================================================================================================+\r\n| 401007551 | BANCO CENTRAL DE LA REPUBLICA DOMINICANA | null | SERV GRALES DE LA ADM P\u00daBLICA | 23/10/1947 | ACTIVO | NORMAL |\r\n| 430027715 | ARS PLAN SALUD BANCO CENTRAL | ARS BANCO CENTRAL | ADMINISTRACION DE RIESGOS DE S | 23/06/2003 | ACTIVO | NORMAL |\r\n| 401508583 | FONDO DE JUBILACIONES Y PENSIONES DEL PERSONAL DEL BANCO CENTRAL | null | ADMINISTRACI\u00d3N DE FONDOS DE PE | 24/02/1999 | ACTIVO | NORMAL |\r\n| 430118591 | CLUB EMPLEADOS DEL BANCO CENTRAL | CLUB EMPLEADOS DEL BANCO CENTRAL | SERV. DE ORGANIZACI\u00d3N, DIRECCI | 08/09/2011 | ACTIVO | NORMAL |\r\n+-----------+-------------------------------------------------------------------+----------------------------------+--------------------------------+------------+--------------+--------+\r\n```\r\n\r\n### Convertir en dataframe de pandas\r\n\r\n```python\r\n>>> df = df.to_pandas()\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "",
"version": "0.5",
"project_urls": {
"Homepage": "https://github.com/lcgarc1a/dgii_rnc",
"Issues": "https://github.com/lcgarc1a/dgii_rnc/issues",
"Repository": "https://github.com/lcgarc1a/dgii_rnc.git"
},
"split_keywords": [
"dgii",
"rnc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e8a112745ecd81b2e1a3dbc1cd1e2f0a019b039f18e79f2c01716a1b8e55bf44",
"md5": "d1b13aabd19651ad8611b269bb0667e7",
"sha256": "bad5efa51f40b5725396de33b838cf58e5b8bafbc84e1a222917f54059403e46"
},
"downloads": -1,
"filename": "dgii_rnc-0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d1b13aabd19651ad8611b269bb0667e7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 4682,
"upload_time": "2024-03-11T14:14:32",
"upload_time_iso_8601": "2024-03-11T14:14:32.369178Z",
"url": "https://files.pythonhosted.org/packages/e8/a1/12745ecd81b2e1a3dbc1cd1e2f0a019b039f18e79f2c01716a1b8e55bf44/dgii_rnc-0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b189524eecb9861b938a02c9fa62b9086bb0f7a05fcc99e99e8dd51b12f30590",
"md5": "f9b9f1fa7cf50c1b75b2ec5cd0ea1e5b",
"sha256": "31e691148215c8f32204efb7e9688b1e73cd09083cff8b483a01b1973acd50ab"
},
"downloads": -1,
"filename": "dgii_rnc-0.5.tar.gz",
"has_sig": false,
"md5_digest": "f9b9f1fa7cf50c1b75b2ec5cd0ea1e5b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 5170,
"upload_time": "2024-03-11T14:14:33",
"upload_time_iso_8601": "2024-03-11T14:14:33.980726Z",
"url": "https://files.pythonhosted.org/packages/b1/89/524eecb9861b938a02c9fa62b9086bb0f7a05fcc99e99e8dd51b12f30590/dgii_rnc-0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-11 14:14:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lcgarc1a",
"github_project": "dgii_rnc",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "dgii-rnc"
}