{"id":32791587,"url":"https://github.com/ipea/ipeadata","last_synced_at":"2025-11-05T13:07:11.837Z","repository":{"id":50410867,"uuid":"126331789","full_name":"ipea/ipeaData","owner":"ipea","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-04T00:57:40.000Z","size":23,"stargazers_count":11,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-05-01T03:28:36.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-22T12:27:40.000Z","updated_at":"2022-07-28T20:40:25.000Z","dependencies_parsed_at":"2022-08-31T11:14:21.039Z","dependency_job_id":null,"html_url":"https://github.com/ipea/ipeaData","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/ipea/ipeaData","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipea%2FipeaData","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipea%2FipeaData/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipea%2FipeaData/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipea%2FipeaData/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipea","download_url":"https://codeload.github.com/ipea/ipeaData/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipea%2FipeaData/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282823743,"owners_count":26733153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-05T02:00:05.946Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-05T13:07:09.160Z","updated_at":"2025-11-05T13:07:11.826Z","avatar_url":"https://github.com/ipea.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IpeaData\n\n# ipeaData  [![Build Status](https://travis-ci.org/ipea/ipeaData.svg?branch=master)](https://travis-ci.org/ipea/ipeaData) [![Cran](https://www.r-pkg.org/badges/version/ipeaData)](https://www.r-pkg.org/badges/version/ipeaData) [![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/ipeaData)](https://cranlogs.r-pkg.org/badges/grand-total/ipeaData) [![Coverage](https://img.shields.io/codecov/c/github/ipea/ipeaData/master.svg)](https://img.shields.io/codecov/c/github/ipea/ipeaData/master.svg) [![Rdoc](http://www.rdocumentation.org/badges/version/ipeaData)](http://www.rdocumentation.org/packages/ipeaData)\n\nThis package has functions to access series on [IPEADATA](http://www.ipeadata.gov.br/)\n\n## Installation\n\nThe package is on CRAN, so to install it just use the command:\n\n```{r eval=FALSE}\ninstall.packages(\"ipeadata\") \n````\n\n## Use\n\nThe package has three functions: get_fonts, get_metadata, and get_values.\n\nget_sources returns data from fonts on IPEDATA.\n\nget_metadata returns metadata from a serie.\n\nipeadata returns values from a given serie.\n\nIpeadata and get_metada work passing a  SERCODIGO's serie as required parameter. Is also\ncan receive as optional parameter the type of return: data.table or tibble.\n\nThe follow examples can make clear the usage:\n\n```{r eval=FALSE}\n get_sources()\n````\n\n```{r eval=FALSE}\n get_metadata('ADMIS')\n````\n\n```{r eval=FALSE}\n ipeadata('ADMIS')\n````\n\n\n## Contributing \n\nTo add new functions to this package, it is needed to create a new branch with the new code and submit a \npull request to branch dev. \n\nTo create the new branch using git command line use the command:\n\n```{r eval=FALSE}\ngit checkout -b name_of_new_branch\n````\n\nTo do it on RStudio just click on Tools \u003e\u003e Shell. On the new opened window type the command above. \n\nAfter adding the new code and [**tests**](http://r-pkgs.had.co.nz/tests.html#test-tests) commit the changes to the git repository and check on [travis](https://travis-ci.org/ipea/utilsIPEA) \nif it has been build correctly. \n\nNow, the code is ready to be incorporated to master branch. To do so, a [pull request](https://help.github.com/articles/about-pull-requests/) has to be made to branch dev. The branch dev contains all code that is not released on CRAN.\n\n\n# Manual\n## Instalação\n\no pacote encontra-se no CRAN, portanto para instala-lo basta usar o comando: \n\n```{r eval=FALSE}\ninstall.packages(\"ipeadata\") \n````\n\n## Uso\n\no pacote tem três principais funções: get_fonts, get_metadata, and get_values.\n\nget_sources retorna dados sobre as fontes do IPEA.\n\nget_metadata retorna os metadados de uma serie.\n\nipeadata returns retorna os valores para uma dada serie.\n\nIpeadata e get_metadata necessitam de um parâmetro obrigatório que é o SERCODIGO da \nserie. As funções ainda possuem um parâmetro não obrigatório que informa o tipo\nde retorno desejado: data.table ou tibble. \n\nOs exemplos abaixo permitem visualizar melhor o uso dessa funções:\n\n```{r eval=FALSE}\n get_sources()\n````\n\n```{r eval=FALSE}\n get_metadata('ADMIS')\n````\n\n```{r eval=FALSE}\n ipeadata('ADMIS')\n````\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipea%2Fipeadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipea%2Fipeadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipea%2Fipeadata/lists"}