Skip to content

Commit

Permalink
version 0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele Guidotti authored and cran-robot committed Jul 29, 2021
1 parent 8632830 commit 43aaebe
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 23 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
@@ -1,7 +1,7 @@
Package: RblDataLicense
Type: Package
Title: R Interface to 'Bloomberg Data License'
Version: 0.2.3
Version: 0.2.4
Authors@R: person(given = "Emanuele",
family = "Guidotti",
email = "emanuele.guidotti@unine.ch",
Expand All @@ -22,10 +22,10 @@ BugReports: https://github.com/eguidotti/RblDataLicense/issues
Depends: RCurl, xts
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.1.0
RoxygenNote: 7.1.1
NeedsCompilation: no
Packaged: 2020-09-20 16:14:21 UTC; Emanuele
Packaged: 2021-07-29 19:19:27 UTC; Emanuele
Author: Emanuele Guidotti [aut, cre] (<https://orcid.org/0000-0002-8961-6623>)
Maintainer: Emanuele Guidotti <emanuele.guidotti@unine.ch>
Repository: CRAN
Date/Publication: 2020-09-20 16:30:02 UTC
Date/Publication: 2021-07-29 19:40:02 UTC
16 changes: 8 additions & 8 deletions MD5
@@ -1,14 +1,14 @@
14e03fe6c1b545fda22820dc89c8b4dd *DESCRIPTION
e7786e5590a0b63be764546ba25480b8 *DESCRIPTION
3e7db59e1bd728af59c13845b5258697 *NAMESPACE
6aa0a17f2c3a0f950babacfa3683c6f8 *NEWS.md
b8549694b6d5ce53939a1acb6227701b *NEWS.md
209cb182f49cb6cf1e8cb26a1f37cbf7 *R/RblQuery.R
807810cff39ca8698d38e9756e1836fd *R/core.R
dc006db889a92d7d50ea442d8001f4d7 *README.md
2b1737a776b48c412d624eb25eb31e59 *R/core.R
5e1f9106d1e0e635aff2b68ba25fbd4b *README.md
08346e6afac228c986e913c3c51ed453 *build/vignette.rds
a5f18e9e021108c75c47418f72304a51 *inst/CITATION
05e0fd8c40176287e927e05396e668f2 *inst/doc/RblDataLicense.Rmd
6623ca4a8fea7096cc35ba068782c04b *inst/doc/RblDataLicense.html
502070ae70e2a036aef7817d5c36573d *man/RblConnect.Rd
88b8f578e909ddc837287db7ab432580 *inst/doc/RblDataLicense.Rmd
aaa1f2b301d0edf0dcbbcf4c7d379524 *inst/doc/RblDataLicense.html
1884c34688d0c14c768884bd4ab768d5 *man/RblConnect.Rd
77ee9e598cff8777484634cc2958e650 *man/RblDownload.Rd
72ad36b43d01e2dc66970ea5db8919ba *man/RblFiles.Rd
410297a1727d54079d7ff35a01f8c117 *man/RblParse.Rd
Expand All @@ -17,4 +17,4 @@ cc1a0d6c23322e045b47e84288ddadc0 *man/RblRequestBuilder.Rd
d4200171f008af655f65788db6f2d6ff *man/RblUpload.Rd
2cf0d0446cf663d2820eb2a0153d6c0e *man/RblUrl.Rd
aa74f4af1c7c1cfa0e7ab6d7f5998307 *man/RblUser.Rd
05e0fd8c40176287e927e05396e668f2 *vignettes/RblDataLicense.Rmd
88b8f578e909ddc837287db7ab432580 *vignettes/RblDataLicense.Rmd
4 changes: 4 additions & 0 deletions NEWS.md
@@ -1,3 +1,7 @@
# RblDataLicense 0.2.4

- Updated default parameters in `RblConnect()`. See issue [#4](https://github.com/eguidotti/RblDataLicense/issues/4)

# RblDataLicense 0.2.3

- Fix `RblDownload()` for Windows users
Expand Down
2 changes: 1 addition & 1 deletion R/core.R
Expand Up @@ -24,7 +24,7 @@
#'
#' @export
#'
RblConnect <- function(user, pw, host = 'dlsftp.bloomberg.com', port = '30206', protocol = 'sftp', verbose = TRUE) {
RblConnect <- function(user, pw, host = 'sftp.bloomberg.com', port = '22', protocol = 'sftp', verbose = TRUE) {

# ftp://User:Password@FTPServer/Destination.html
url <- paste0(protocol, '://', user, ':', pw, '@', host, ':', port)
Expand Down
4 changes: 2 additions & 2 deletions README.md
@@ -1,6 +1,6 @@
# RblDataLicense

[![](https://www.r-pkg.org/badges/version/RblDataLicense)](https://CRAN.R-project.org/package=RblDataLicense) [![](https://www.r-pkg.org/badges/last-release/RblDataLicense)](https://CRAN.R-project.org/package=RblDataLicense) [![](https://cranlogs.r-pkg.org/badges/grand-total/RblDataLicense)](https://CRAN.R-project.org/package=RblDataLicense)
[![](https://www.r-pkg.org/badges/version/RblDataLicense)](https://CRAN.R-project.org/package=RblDataLicense) [![](https://www.r-pkg.org/badges/last-release/RblDataLicense)](https://CRAN.R-project.org/package=RblDataLicense) [![](https://cranlogs.r-pkg.org/badges/grand-total/RblDataLicense)](https://CRAN.R-project.org/package=RblDataLicense) [![](https://travis-ci.com/eguidotti/RblDataLicense.svg?branch=master)](https://travis-ci.com/eguidotti/RblDataLicense)


The __RblDataLicense__ package aims at providing an easy R interface to access prices and market data with the __Bloomberg Data License__ service. Unlike the [Rblpapi](https://cran.r-project.org/package=Rblpapi) package for Bloomberg Terminal users, [RblDataLicense](https://cran.r-project.org/package=RblDataLicense) does not require the user to set up any working Bloomberg installation. As a prerequisite, a valid Data License from Bloomberg is needed together with the corresponding SFTP credentials and whitelisting of the IP from which accessing the service.
Expand All @@ -15,7 +15,7 @@ As a prerequisite, a valid Data License from Bloomberg is needed together with t

The Bloomberg Data License Service is billed on a pay-per-use model, based on the amount of instruments and data categories requested. The RblDataLicense package implements several checks to protect the user against unintended programming errors and to help keeping costs under control. In any case, to avoid incurring unexpected expenses, the user should carefully read the Bloomberg contract before accessing the Data License Service with this or any other software.

RblDataLicense is built on top of [RCurl](https://cran.r-project.org/package=RCurl), a wrapper for [libcurl](https://curl.haxx.se/libcurl/). The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.
RblDataLicense is built on top of [RCurl](https://cran.r-project.org/package=RCurl), a wrapper for [libcurl](https://curl.se/libcurl/). The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.

## Encryption

Expand Down
2 changes: 1 addition & 1 deletion inst/doc/RblDataLicense.Rmd
Expand Up @@ -21,7 +21,7 @@ As a prerequisite, a valid Data License from Bloomberg is needed together with t

The Bloomberg Data License Service is billed on a pay-per-use model, based on the amount of instruments and data categories requested. The RblDataLicense package implements several checks to protect the user against unintended programming errors and to help keeping costs under control. In any case, to avoid incurring unexpected expenses, the user should carefully read the Bloomberg contract before accessing the Data License Service with this or any other software.

RblDataLicense is built on top of [RCurl](https://cran.r-project.org/package=RCurl), a wrapper for [libcurl](https://curl.haxx.se/libcurl/). The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.
RblDataLicense is built on top of [RCurl](https://cran.r-project.org/package=RCurl), a wrapper for [libcurl](https://curl.se/libcurl/). The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.

## Encryption

Expand Down
41 changes: 37 additions & 4 deletions inst/doc/RblDataLicense.html
Expand Up @@ -12,7 +12,7 @@

<meta name="author" content="Emanuele Guidotti" />

<meta name="date" content="2020-09-20" />
<meta name="date" content="2021-07-29" />

<title>Connecting R to Bloomberg Data License</title>

Expand All @@ -29,9 +29,41 @@
}
});
</script>
<script>// Hide empty <a> tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) -->
// v0.0.1
// Written by JooYoung Seo (jooyoung@psu.edu) and Atsushi Yasumoto on June 1st, 2020.

document.addEventListener('DOMContentLoaded', function() {
const codeList = document.getElementsByClassName("sourceCode");
for (var i = 0; i < codeList.length; i++) {
var linkList = codeList[i].getElementsByTagName('a');
for (var j = 0; j < linkList.length; j++) {
if (linkList[j].innerHTML === "") {
linkList[j].setAttribute('aria-hidden', 'true');
}
}
}
});
</script>

<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
</style>


<style type="text/css">code{white-space: pre;}</style>
<style type="text/css">
code {
white-space: pre;
}
.sourceCode {
overflow: visible;
}
</style>
<style type="text/css" data-origin="pandoc">
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
Expand Down Expand Up @@ -121,6 +153,7 @@




<style type="text/css">body {
background-color: #fff;
margin: 1em auto;
Expand Down Expand Up @@ -315,7 +348,7 @@

<h1 class="title toc-ignore">Connecting R to Bloomberg Data License</h1>
<h4 class="author">Emanuele Guidotti</h4>
<h4 class="date">2020-09-20</h4>
<h4 class="date">2021-07-29</h4>



Expand All @@ -325,7 +358,7 @@ <h4 class="date">2020-09-20</h4>
<h2>Prerequisites</h2>
<p>As a prerequisite, a valid Data License from Bloomberg is needed together with the corresponding SFTP credentials and whitelisting of the IP from which accessing the service. The credentials consist of the username and password needed to authenticate requests. As an additional security measure, all requests are blocked by default and are only accepted if coming from a whitelisted IP address. The user needs to inform Bloomberg of the IP addresses from which accessing the service. Only correctly authenticated requests from whitelisted IP will work.</p>
<p>The Bloomberg Data License Service is billed on a pay-per-use model, based on the amount of instruments and data categories requested. The RblDataLicense package implements several checks to protect the user against unintended programming errors and to help keeping costs under control. In any case, to avoid incurring unexpected expenses, the user should carefully read the Bloomberg contract before accessing the Data License Service with this or any other software.</p>
<p>RblDataLicense is built on top of <a href="https://cran.r-project.org/package=RCurl">RCurl</a>, a wrapper for <a href="https://curl.haxx.se/libcurl/">libcurl</a>. The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.</p>
<p>RblDataLicense is built on top of <a href="https://cran.r-project.org/package=RCurl">RCurl</a>, a wrapper for <a href="https://curl.se/libcurl/">libcurl</a>. The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.</p>
</div>
<div id="encryption" class="section level2">
<h2>Encryption</h2>
Expand Down
4 changes: 2 additions & 2 deletions man/RblConnect.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/RblDataLicense.Rmd
Expand Up @@ -21,7 +21,7 @@ As a prerequisite, a valid Data License from Bloomberg is needed together with t

The Bloomberg Data License Service is billed on a pay-per-use model, based on the amount of instruments and data categories requested. The RblDataLicense package implements several checks to protect the user against unintended programming errors and to help keeping costs under control. In any case, to avoid incurring unexpected expenses, the user should carefully read the Bloomberg contract before accessing the Data License Service with this or any other software.

RblDataLicense is built on top of [RCurl](https://cran.r-project.org/package=RCurl), a wrapper for [libcurl](https://curl.haxx.se/libcurl/). The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.
RblDataLicense is built on top of [RCurl](https://cran.r-project.org/package=RCurl), a wrapper for [libcurl](https://curl.se/libcurl/). The package establishes SFTP connections to Bloomberg Data License. On some Linux systems, this may not work out of the box, as libcurl does not natively support SFTP. In that case, the user needs to compile curl with SFTP support first.

## Encryption

Expand Down

0 comments on commit 43aaebe

Please sign in to comment.