Skip to content

harshvs4/Data-Extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Data Extraction using R

Overview

The aim of this project is to use API calls to extract data from an online bitcoin currency site in R. The 'coinmarketcapr' package is used to to extract and monitor price and market cap of various Cryptocurrencies from 'CoinMarketCap' that lists many leading cryptocurrencies along with their price, 24h trade volume, market cap and much more in USD and other currencies.

Inside this coinmarketcapr package, the function that you call from coinmarketcapr connects with the Coinmarketcap API using curl (via Internet) and receives the required data in the form a json file which is then parsed with jsonlite and then flattened/converted to a dataframe and stored in your R Environment in the given variable name.

Installation

The latest version can be downloaded using devtools

install.packages("devtools")
devtools::install_github("amrrs/coinmarketcapr")

Dependencies

coinmarketcapr depends on the following packages:

  • jsonlite-In addition to converting JSON data from/to R objects, 'jsonlite' contains functions to stream, validate, and prettify JSON data.
  • curl-It is a command line tool to transfer data to or from a server, using any of the supported protocols
  • ggplot2-It is a system for declaratively creating graphics
  • data.table- It is widely used for fast aggregation of large datasets, low latency add/update/remove of columns, quicker ordered joins, and a fast file reader.
  • cli-A suite of tools to build attractive command line interfaces ('CLIs')
  • crayon-With crayon it is easy to add color to terminal output, create styles for notes, warnings, errors; and combine styles.

External links

To generate your API key, visit Coinmarketcap

Program Screenshots

Latest Marketcap details

Details of all the Coins in the Market

Cryptocurrencies Graph

About

Data Extraction using R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages