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.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

bcrp_webscrapper-1.0.3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bcrp_webscrapper-1.0.3.tar.gz
  • Upload date:
  • Size: 2.5 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.3.tar.gz
Algorithm Hash digest
SHA256 6ec4ab5bc35c4787daa10bb738579e2e964745aad862d4472fecfb0e7cdbd2c5
MD5 36a445b7a926388ba57c486a88f43724
BLAKE2b-256 58471d077865c7f9e6d91bf370304807eaee62663b6571e609b89bf5c7465894

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bcrp_webscrapper-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 43994701fc45aae5003d572568c13ba0f775a11ac9f537fa6cac3e23755a3421
MD5 2fbacc7335de4d5de75e5bd424316b8e
BLAKE2b-256 f081d843a6723428963c4a032357a71b332d15ee66c9e4f7277ccc00908d65dc

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