To query a pdf you must know the number of the piece you are looking for and the date it was published.
Arguments
- year
Character of the number of the year: YYYY
- month
Character of the number of the month: MM.
- day
Character of the number of the day: DD.
- code
Code of the publication to query.
Examples
cve <- sumario_cve("2017", "237")
query_pdf("2017", "10", "02", cve)
#> [1] "https://boe.es/boe/dias/2017/10/02/pdfs/BOE-S-2017-237.pdf"