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.5.tar.gz
.
File metadata
- Download URL: bcrp_webscrapper-1.0.5.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e30fb752ca6a42e74f2353462033949df1bdc463bd3efb9bc16a0068593b236b |
|
MD5 | 7d217445bb562f14b9a01b995c281bf9 |
|
BLAKE2b-256 | af172c306f6a4a9fd2b05a52098686861a2fc8e1f8b72f2ef36c9a5ad84a2cc5 |
File details
Details for the file bcrp_webscrapper-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: bcrp_webscrapper-1.0.5-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a338153350035c1a1594a0ca36dc1f02a4774542de0397bcacd77aa7d76226fa |
|
MD5 | 973151c8cc65ffea3db21ca4147bfd71 |
|
BLAKE2b-256 | 610d088a230884e08bcbff94ea5c69f2d73a3262f592da4585cbb8ecf6a41d08 |