Skip to contents

Transform the date and publication code to the urls to the publications on pdf format.

Usage

url_publications(sumario)

Arguments

sumario

A tidy sumario.

Value

A character vector with the urls to get the publications in pdf format.

See also

retrieve_sumario to obtain sumarios, and tidy_sumario to know the expected input.

Examples

# \donttest{
sumario <- retrieve_sumario(Sys.Date())
url_publications(sumario[1:10, ])
#>  [1] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13107.pdf"
#>  [2] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13108.pdf"
#>  [3] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13109.pdf"
#>  [4] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13110.pdf"
#>  [5] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13111.pdf"
#>  [6] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13112.pdf"
#>  [7] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13113.pdf"
#>  [8] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13114.pdf"
#>  [9] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13115.pdf"
#> [10] "https://boe.es/boe/dias/2022/08/04/pdfs/BOE-A-2022-13116.pdf"
# }