-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
68 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ Makefile | |
^revdep$ | ||
^CRAN-SUBMISSION$ | ||
^\.github$ | ||
scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Version: 1.0.7 | ||
Date: 2024-05-07 06:05:28 UTC | ||
SHA: f062d4ad740054e18de560f9506a738c59133fb7 | ||
Date: 2024-05-07 07:10:45 UTC | ||
SHA: 7fcb63ca386a7a3ee8ba00ae21cd76630c4224cf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,11 @@ Depends: | |
R (>= 3.3.0) | ||
Imports: | ||
foreign | ||
Authors@R: person("Daniela", "Petruzalek", email = "[email protected]", role = c("aut", "cre", "cph")) | ||
Authors@R: c( | ||
person("Daniela", "Petruzalek", email = "[email protected]", role = c("aut", "cre", "cph")), | ||
person("Mark", "Adler", email = "[email protected]", role = c("cph", "ctb")), | ||
person("Pablo", "Marcondes Fonseca", email = "[email protected]", role = c("cph", "ctb")) | ||
) | ||
Maintainer: Daniela Petruzalek <[email protected]> | ||
URL: https://github.com/danicat/read.dbc | ||
BugReports: https://github.com/danicat/read.dbc/issues | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,15 @@ License: AGPLv3 | |
|
||
## Introduction | ||
|
||
`read.dbc` is a R package to enable importing data from `DBC` (compressed `DBF`) files into data frames. Please note that this is the file format used by the Brazilian Ministry of Health (DATASUS), and it is not related to the Microsoft FoxPro or CANdb DBC file formats. | ||
`read.dbc` is a R package to enable importing data from `DBC` (compressed `DBF`) files into data frames. Please note that this is the file format used by DATASUS and it is not related to Microsoft FoxPro or CANdb DBC file formats. | ||
|
||
DATASUS is the name of the Department of Informatics of Brazilian Health System. It is the agency resposible for publishing Brazilian public healthcare data. Besides DATASUS, the Brazilian National Agency for Supplementary Health (ANS) also uses this file format for its public data. | ||
DATASUS is the name of the Department of Informatics of Brazil's Healthcare System (Sistema Unico de Saúde - SUS). They are responsible for publishing Brazilian public healthcare data. Besides DATASUS, the Brazilian National Agency for Supplementary Health (ANS) also uses this file format for its public data. | ||
|
||
This code was tested using files from both DATASUS and ANS to ensure compliance with the format, and hence ensure its usability by researchers. | ||
|
||
This project is based on the work of [Mark Adler](https://github.com/madler/zlib/tree/master/contrib/blast) (blast) and [Pablo Fonseca](https://github.com/eaglebh/blast-dbf) (blast-dbf). | ||
|
||
As a final note, neither this project, nor its author, is related in any way to the Brazilian government. | ||
Neither this project, nor its author, is related in any way to the Brazilian government. | ||
|
||
## Changelog | ||
|
||
|
@@ -84,27 +84,17 @@ If you have any questions, please contact me at [[email protected]](m | |
|
||
### Mac OS X | ||
|
||
Install Xcode | ||
Install R: https://cran.r-project.org/bin/macosx/ | ||
Install Rstudio: https://posit.co/download/rstudio-desktop/ | ||
|
||
Open Rstudio and run on the console: | ||
``` | ||
install.packages("devtools") | ||
install.packages("roxygen2") | ||
``` | ||
|
||
To check the package is ok run: | ||
|
||
``` | ||
devtools::check() | ||
``` | ||
|
||
The `Makefile` also contains a few helper methods. | ||
Setup: | ||
- Install Xcode | ||
- Install R: https://cran.r-project.org/bin/macosx/ | ||
- Install Rstudio: https://posit.co/download/rstudio-desktop/ | ||
- Run `make setup` to install R dependencies | ||
- Run `make check` to verify the package | ||
|
||
You can also run `make help` to see a list of available commands. | ||
|
||
## Submitting to CRAN | ||
|
||
First make sure all the checks are passing by running `make cran`. | ||
|
||
Once ready, use `devtools::submit_cran()`. | ||
Once ready, use `devtools::submit_cran()`. This needs to run from RStudio or the R interpreter itself as the tool doesn't allow non-interactive runs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.