Time series extraction from the Peruvian Central Bank Database (BCRP Statistics)
Project description
bcrp-webscrapper
This repository has a module that allows the scrapping of the Peruvian Central of Reserve (BCRP) Statistics Database.
Functions
The module defines the following main functions:
bcrp_search()
This function provides a basic searcher for the BCRP Database website. We provide the name of the series and the frequency we want and search for the data available. Ir returns a dataframe with all series that match our input.
bcrp_scrapper()
This function scraps series from the BCRP Database and gives us a dataframe with the series.
bcrp_graph()
This function graphs series from the BCRP Database.
downlodad_graph()
This function scraps series from the BCRP Database and downloads the image in the given format (png, jpg, pdf).
Structure
The repository contains the following folders:
scr
: we find the.py
file where the functions are defined.test
: we find some examples of the functions being used.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bcrp_webscrapper-1.0.2.tar.gz
.
File metadata
- Download URL: bcrp_webscrapper-1.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87d1024fdc9c488e5a861c4b24452f76595ffc4202baa89376f220a92537e479 |
|
MD5 | d9c7adec88ffee4869d93c4f1c1e440a |
|
BLAKE2b-256 | 6e6bb63daa2435bbb9e901744dfeedc0986b77e1bb8e5870a12176087197eacc |
File details
Details for the file bcrp_webscrapper-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: bcrp_webscrapper-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce215d62e50ec5ec6886c1ab949d0c892b4ee8c6a967a1f277f86d7880d93bfe |
|
MD5 | 6074b02a9cece965bbc8a4b495ff607f |
|
BLAKE2b-256 | d00af722a6c8d01161a70ed6644d8dbb92c699e6851ede6bc42e4b3a959074d1 |