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)

https://github.com/aspeddro/siconfir

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

accounts brazil brazilian budget economics r r-package rstats siconfi
Last synced: 6 months ago · JSON representation ·

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
  • Host: GitHub
  • Owner: aspeddro
  • License: other
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 335 KB
Statistics
  • Stars: 17
  • Watchers: 1
  • Forks: 2
  • Open Issues: 2
  • Releases: 11
Topics
accounts brazil brazilian budget economics r r-package rstats siconfi
Created about 5 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Contributing License Citation

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

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)

cod is an id assigned to each city and state. See IBGE, Cities and States, find_cod(), get_info() or br_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

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
enhancement (1)
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

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Stargazers count: 17.0%
Forks count: 21.9%
Average: 26.0%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: about 1 year ago

Dependencies

DESCRIPTION cran
  • 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
.github/workflows/check-release.yaml actions
  • 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