Class ScrapingEight#

class sisedeinversiones.form_eight.eight.ScrapingEight(file_read, num_range, path_export, file_type, year)[fuente]#

Bases: ReadsFiles

Scraping Class Attributes

Parámetros:
  • file_read (_type_) – It is the address where the file with the CUI codes that we are going to consume is located.

  • path_export (_type_) – Address where the information generated after data extraction will be exported.

  • num_range (_type_) – Indicates the range of records that will be worked on, separated by a «_» between the upper and lower limits.

  • file_type (_type_) – This is the type of file you want to export. At the moment it is programmed to generate .xlsx files.

  • year (_type_) – Indicate the year of the records, this information will be used to generate the name of the .xlsx file that will be exported with the collected information.

download_data()[fuente]#

_summary_

Devuelve:

_description_

Tipo del valor devuelto:

_type_

read_file()[fuente]#

We import the .csv file with the CUI’s

Devuelve:

_description_

Tipo del valor devuelto:

_type_

scrape_info()[fuente]#

_summary_

Devuelve:

_description_

Tipo del valor devuelto:

_type_