Skip to content

Commit 326dd74

Browse files
committed
Remove método que não existe read_dbc
1 parent ac946fb commit 326dd74

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

README.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
This package collects a set of utilities for handling with public databases published by Brazil's DATASUS
77
The documentation of how to use PySUS can be found [here](http://pysus.readthedocs.io/en/latest/)
88

9-
If you use PySUS for a publication, please use the bibtex below to cite it:
9+
If you use PySUS for a publication, please use the bibtex below to cite it:
1010
```bibtex
1111
@software{flavio_codeco_coelho_2021_4883502,
1212
author = {Flávio Codeço Coelho and
@@ -26,7 +26,6 @@ If you use PySUS for a publication, please use the bibtex below to cite it:
2626

2727
## Features
2828

29-
3029
- Decode encoded patient age to any time unit (years, months, etc)
3130
- Convert `.dbc` files to DBF databases or read them into pandas dataframes. DBC files are basically DBFs compressed by a proprietary algorithm.
3231
- Read SINAN dbf files returning DataFrames with properly typed columns
@@ -138,26 +137,6 @@ datetime.date(2016, 4, 1)
138137

139138
```
140139

141-
**Reading `.dbc` file:**
142-
143-
```python
144-
>>> from pysus.utilities.readdbc import read_dbc
145-
146-
>>> df = read_dbc(filename, encoding='iso-8859-1')
147-
>>> df.info()
148-
<class 'pandas.core.frame.DataFrame'>
149-
RangeIndex: 1239 entries, 0 to 1238
150-
Data columns (total 58 columns):
151-
AP_MVM 1239 non-null object
152-
AP_CONDIC 1239 non-null object
153-
AP_GESTAO 1239 non-null object
154-
AP_CODUNI 1239 non-null object
155-
AP_AUTORIZ 1239 non-null object
156-
AP_CMP 1239 non-null object
157-
AP_PRIPAL 1239 non-null object
158-
AP_VL_AP 1239 non-null float64
159-
...
160-
```
161140
Downloading and reading SINASC data:
162141

163142
```python

0 commit comments

Comments
 (0)