Code Monkey home page Code Monkey logo

etl_economic_indicator's Introduction

etl_economic_indicator

Table of Contents

About

etl_economic_indicator is a a python program that download the economic data indicators in investing.com and upload it to a sql server database

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

First, you need to create a conda virtual environment together with python version 3.9.5 and at the same time install the dependencies in the requirements.txt file.

Windows CMD Terminal

conda create --name TypeYourVirtualEnvironmentHere python=3.9.5 --file requirements.txt

Next, activate the virtual environment that you just created now. In the windows terminal, type the following commands.

Windows CMD Terminal

conda activate TypeYourVirtualEnvironmentHere

Installing

Next, after you have created a conda virtual environment with python version 3.9.5 together with the dependencies in the requirements.txt, you need to pip install sqlconnection (the "Module"). In the windows terminal, type the following codes below.

Windows CMD Terminal

pip install version pip install git+https://github.com/Iankfc/etl_economic_indicator.git@master

To use the module in a pythone terminal, import the module just like other python modules such as pandas or numpy.

Python Terminal

from etl_economic_indicator import get_economic_data_from_investing_com as etl
str_date_filter_from = '1/1/1970'
str_date_filter_to = '9/6/2021'

ged = etl.class_get_economic_data_from_investing_com(   str_start_date = str_date_filter_from,
                                                    str_end_date = str_date_filter_to
                                                )

df_economic_data = ged.func_df_get_economic_data(bool_upload_data_to_sqlserver_True_or_False = True,
                                                    bool_sqlserver_upload_append_or_replace = 'append')

Usage

The module can be use to for extract transform and load (ETL) flow of data science.

etl_economic_indicator's People

Contributors

iankfc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.