bcrp_get: Get data BCRP by link

View source: R/bcrp-get.R

bcrp_getR Documentation

Get data BCRP by link

Description

Create a tibble from BCRP data

Usage

bcrp_get(.link = NULL)

Arguments

.link

Url from https://estadisticas.bcrp.gob.pe/estadisticas/series/

Details

Read table from links of BCRP data, and convert into tibbles.

Value

A list with data from BCRP links

Author(s)

Jhon Flores Rojas

Examples

library(rvest)
library(purrr)
library(PeruData)

down_load <- c(
 "https://estadisticas.bcrp.gob.pe/estadisticas/series/mensuales/resultados/PN01270PM/html"
, "https://estadisticas.bcrp.gob.pe/estadisticas/series/mensuales/resultados/PN01308PM/html"
)
dfs <- bcrp_get(down_load)
dfs

TJhon/PeruDAta documentation built on March 18, 2022, 2:16 p.m.