siconfir
R package to access tax and accounting data of Brazilian states and municipalities provided by the Brazilian Public Sector Accounting and Tax Information System (Siconfi/National Treasure)
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.3%) to scientific vocabulary
Keywords
Repository
R package to access tax and accounting data of Brazilian states and municipalities provided by the Brazilian Public Sector Accounting and Tax Information System (Siconfi/National Treasure)
Basic Info
Statistics
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 2
- Releases: 11
Topics
Metadata Files
README.md
siconfir
R package to access tax and accounting data of Brazilian states and municipalities provided by the Brazilian Public Sector Accounting and Tax Information System (SICONFI/National Treasure)
Installation
r
install.packages("remotes")
remotes::install_github("aspeddro/siconfir")
Using
- get_fiscal(): Fiscal management report
- get_budget(): Budget execution summary report
- getannualacc(): Annual statement of accounts
- msc_budget(): Budget accounts, accounting balances matrix
- msc_control(): Control accounts, accounting balances matrix
- msc_equity(): Equity accounts, accounting balances matrix
- report_status(): Report status
- get_annex(): Attachments of reports by sphere of government
- get_info(): Basic information of the federation entities
- find_cod(): Find state or municipality information
Datasets:
Examples
r
library(siconfir)
get_fiscal()
Fiscal management report for the state of Sao Paulo (35) for the first four months of 2020:
r
siconfir::get_fiscal(year = 2020, period = 1, cod = 35)
codis an id assigned to each city and state. See IBGE, Cities and States,find_cod(),get_info()orbr_cods
get_budget()
Summary of the budget execution report for the state of Rio de Janeiro (33) of 2018 for the first two months:
r
siconfir::get_budget(year = 2018, period = 1, cod = 33)
getannualacc()
Declaration of annual accounts of the municipality of Sao Paulo (3550308) 2018:
r
siconfir::get_annual_acc(year = 2018, cod = 3550308)
msc_budget()
Budget accounts, accounting balances matrix:
r
siconfir::msc_budget(year = 2020, month = 1, cod = 1, matrix_type = "MSCC", class = 5, value = "period_change")
msc_control()
Control accounts, accounting balances matrix:
r
siconfir::msc_control(year = 2020, month = 6, cod = 17, matrix_type = "MSCC", class = 7, value = "ending_balance")
msc_equity()
Equity accounts, accounting balances matrix:
r
siconfir::msc_equity(year = 2020, month = 12, cod = 1, matrix_type = "MSCE", class = 1, value = "beginning_balance") # cod = 1 is id of Brazil
report_status()
Information on approved and corrected reports as well as matrices delivered to SICONFI:
r
siconfir::report_status(year = 2020, cod = 43)
get_annex()
Attachments of reports by sphere of government:
r
siconfir::get_annex()
get_info()
Acess basic information of the federation entities:
r
siconfir::get_info()
find_cod()
Find state or municipality information:
r
siconfir::find_cod("distrito federal")
br_cods
Basic information of Brazilian municipalities and states. br_cods provides results similar to get_info(), but with some corrections, see utils/build_datasets.R
r
siconfir::br_cods
Resources
Contributing
Bugs or suggestions: open an issue detailing the problem/suggestion, be as reproducible as possible.
License
This project is released under the MIT License.
Owner
- Name: Pedro Castro
- Login: aspeddro
- Kind: user
- Location: Brazil
- Twitter: aspeddro
- Repositories: 91
- Profile: https://github.com/aspeddro
learning @ocaml 🐫 - @rescript-lang discord: aspeddro
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Castro" given-names: "Pedro" title: "siconfir: R package to access tax and accounting data of Brazilian states and municipalities provided by the Brazilian Public Sector Accounting and Tax Information System" version: 2.0.0 date-released: 2022-12-18 license: MIT license-url: "https://github.com/aspeddro/siconfir/blob/main/LICENSE" repository-code: https://github.com/aspeddro/siconfir
GitHub Events
Total
- Watch event: 3
- Fork event: 1
Last Year
- Watch event: 3
- Fork event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 3
- Total pull requests: 4
- Average time to close issues: 5 months
- Average time to close pull requests: about 17 hours
- Total issue authors: 3
- Total pull request authors: 1
- Average comments per issue: 2.33
- Average comments per pull request: 0.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- eduardodeabreumoraes (1)
- aspeddro (1)
- schoulten (1)
Pull Request Authors
- aspeddro (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: siconfir
Quick and Easy Access Tax and Accounting Data of Brazil
- Homepage: https://github.com/aspeddro/siconfir
- Documentation: http://cran.r-project.org/web/packages/siconfir/siconfir.pdf
- License: MIT + file LICENSE
- Status: removed
-
Latest release: 2.0.3
published about 3 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.2 depends
- dplyr * imports
- httr * imports
- magrittr * imports
- purrr * imports
- rlang * imports
- stringr * imports
- tibble * imports
- tidyr * imports
- testthat >= 3.0.0 suggests
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite