{"id":19070326,"url":"https://github.com/ropenspain/boe","last_synced_at":"2025-04-28T14:21:09.284Z","repository":{"id":42235798,"uuid":"222004383","full_name":"rOpenSpain/BOE","owner":"rOpenSpain","description":"A package to retrieve and interact with https://boe.es","archived":false,"fork":false,"pushed_at":"2025-01-25T15:11:51.000Z","size":1593,"stargazers_count":9,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T17:19:04.596Z","etag":null,"topics":["boe","xml"],"latest_commit_sha":null,"homepage":"https://rOpenSpain.github.io/BOE","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rOpenSpain.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-11-15T21:15:29.000Z","updated_at":"2024-12-24T10:03:43.000Z","dependencies_parsed_at":"2022-08-23T18:10:59.048Z","dependency_job_id":"3a6a5b56-24e8-4693-bdff-8c0404afab86","html_url":"https://github.com/rOpenSpain/BOE","commit_stats":{"total_commits":122,"total_committers":4,"mean_commits":30.5,"dds":"0.049180327868852514","last_synced_commit":"0a0693a0be43ec1ec05a52d452c438770c193db9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rOpenSpain%2FBOE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rOpenSpain%2FBOE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rOpenSpain%2FBOE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rOpenSpain%2FBOE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rOpenSpain","download_url":"https://codeload.github.com/rOpenSpain/BOE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251326856,"owners_count":21571637,"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","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":["boe","xml"],"created_at":"2024-11-09T01:18:07.010Z","updated_at":"2025-04-28T14:21:09.268Z","avatar_url":"https://github.com/rOpenSpain.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# BOE\n\n\u003c!-- badges: start --\u003e\n\n[![R build status](https://github.com/rOpenSpain/BOE/workflows/R-CMD-check/badge.svg)](https://github.com/rOpenSpain/BOE/actions) [![Travis build status](https://travis-ci.org/rOpenSpain/BOE.svg?branch=master)](https://travis-ci.org/rOpenSpain/BOE) [![Codecov test coverage](https://codecov.io/gh/rOpenSpain/BOE/branch/master/graph/badge.svg)](https://codecov.io/gh/rOpenSpain/BOE?branch=master) [![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)\n\n\u003c!-- badges: end --\u003e\n\nThe goal of BOE is to provide tools to retrieve data from [BOE](https://boe.es) either from the **Boletín Oficial del Estado** or from the BORME **Boletín Oficial del Registro Mercantil del Estado**.\n\nYou can see examples of what is capable on the vignette and with more data this [website](https://llrs.github.io/BOE_historico/).\n\n## Installation\n\nYou can install it from github with:\n\n``` r\nremotes::install_github(\"rOpenSpain/BOE\")\n```\n\n## Examples\n\nThis is a basic example which shows you how to solve find the identifiers of some elements. The most important data is the _sumario_ (summary) which can be retrieved by the date:\n\n```{r example}\nlibrary(\"BOE\")\ntoday \u003c- Sys.Date()\nsumario_hoy \u003c- retrieve_sumario(today)\nhead(sumario_hoy)\n```\n\nIf we are interested on a publication we can obtain the url of the publication with:\n\n```{r exampleC}\n# Say we are interested on the first result:\npdfs \u003c- url_publications(sumario_hoy[1, ])\npdfs # And we can download it with download.file(pdfs)\n```\n\nWe can open the publication from R with:\n\n```{r browse, echo = TRUE, eval = FALSE}\nopen_publications(pdfs)\n```\n\nIf we need to know the BOE code of a publication we can do so with:\n\n```{r codes}\nsumario_nbo(as.Date(\"2019/11/15\"))\nsumario_nbo(as.Date(\"2019/11/15\"), journal = \"BORME\")\n# The codes of publication is the year and the number of said publication\nsumario_nbo(\"2017\", \"275\") \nsumario_cve(\"2017\", \"275\", journal = \"BORME\") \nanuncio_cve(\"2012\", \"32498\") \ndisposicion_cve(\"2012\", \"32498\")\n```\n\n## Code of Conduct\n\nPlease note that the BOE project is released with a [Contributor Code of Conduct](https://contributor-covenat.org/version/1/0/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropenspain%2Fboe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropenspain%2Fboe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropenspain%2Fboe/lists"}