Changelog
Source:NEWS.md
microdatasus 2.3.4
- Fix error on tabNaturalidade, issue #123. Thanks @SophiaDamianoRovere and @hafermoraes for the suggestions.
- Fix FANTASIA names on CNES, issue #125.
microdatasus 2.3.1
CRAN release: 2024-06-18
- Import read.dbc package from CRAN.
- Remove CADGER data.
- General package adjustments for CRAN submission.
- Examples of process functions use data samples.
- Update package citation.
microdatasus 2.3.0
- All process functions uses dplyr verbs and dtplyr for fast processing.
- All process functions returns a tibble.
- Add
track_source
argument tofetch_datasus
function to create a variable calledsource
with the file name that originated the row. - Updated CBO (CNES), CADGER (CNES), EQUIPE (SIA), SIGTAB (SIA) reference tables.
- Sample data for health information systems.
- Data files with XZ compression.
- Internal tests restructured.
- Progress bar removed from
process_sim
due increased processing time.
microdatasus 2.2.7
- Enhance messages of
fetch_datasus
. - Timeout the connection check when DataSUS FTP is down or not reachable.
- If there is no Internet or the DataSUS FTP is down or not reachable, the
fetch_datasus
will returnNULL
. -
process_sim
shows a progress bar.
microdatasus 2.2.3
- As the package {read.dbc} is not available on CRAN, this patch uses the Github version.
- Issue #89 points out that files from SIM-EXT older than 2006 present 7-digits variable lengths for CODMUNRES and CODMUNOCOR. Those codes are now truncated to 6-digits standard by process_sim function.
- Related to #66, #84 and #86. Some files are very big to download, especially those from SIA and SIH. A timeout argument was added to the fetch_datasus with a default of 240 seconds.
- process_sinasc pull request #91 fixes issue #90, related to CODOCUPMAE variable
- Related to #79, now the function process_sia downloads an updated version from the SIGTAB table from DataSUS when nome_proced is TRUE.
microdatasus 2.2.1
- process_sinasc with new codes to process sex variable, avoiding missing results.
- process_cnes corrections to avoid NA introduction by coercion.
- process_sih corrects MUNIC_RES type
microdatasus 2.2.0
- fetch_datasus function uses read.dbc function with as.is set to TRUE for better performance.
- Minor bugs corrections.
microdatasus 2.1.0
- Bug correction that impacted download of all UFs from monthly data health systems.
microdatasus 1.4.4
- Updates SINAN functions for DataSUS changes in file structures, from per UF basis to all data (BR).
microdatasus 1.4.2
- Correct codmun handling for CNEST-ST data. Issue #38