Skip to main content

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

bcrp_webscrapper-1.0.4.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

bcrp_webscrapper-1.0.4-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file bcrp_webscrapper-1.0.4.tar.gz.

File metadata

  • Download URL: bcrp_webscrapper-1.0.4.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

Hashes for bcrp_webscrapper-1.0.4.tar.gz
Algorithm Hash digest
SHA256 7cad754932a1cad2deedd5cb2ab6d620c739480826f3dcc7efca64cb2c48292e
MD5 b4e5de4ae72de440b6e0f8e0938b3db3
BLAKE2b-256 7155f5c71d4c9887d49121031c51c780482694a313b27c037ea2a2f7227ff8f4

See more details on using hashes here.

File details

Details for the file bcrp_webscrapper-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for bcrp_webscrapper-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1884dc218e7c8425bf4e26cb468fcef3431ab38452022a2a604bf73edda7f792
MD5 2d2698d61e1d0ca8f76367cfaf56048e
BLAKE2b-256 f06aee9a515a8b023089462db4b48f5de5f868f0362817ae15e580edd29ce159

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page