Skip to content

Commit

Permalink
renamed to lookupSecurity, rolled minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Feb 12, 2017
1 parent 9f0197f commit 0f29557
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 17 deletions.
16 changes: 15 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
2017-02-12 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll minor version

* R/lookup.R (lookupSecurity): Renamed to lookupSecurity(), tweaks
to help page and argument handling
* man/lookupSecurity.Rd: Also renamed

2017-02-12 Kevin Jin <goldstar.kevin@gmail.com>

* R/lookup.R (lookup): New function to look up securities,
possibly filtered by yellow key and language (PR #216)
* man/lookup.Rd: Documentation

2017-01-03 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (URL, BugReports): Add URLs
* DESCRIPTION (URL, BugReports): Add URLs

2016-12-14 Dirk Eddelbuettel <edd@debian.org>

Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Rblpapi
Title: R Interface to 'Bloomberg'
Version: 0.3.5.1
Date: 2016-12-13
Version: 0.3.5.2
Date: 2017-02-12
Maintainer: Dirk Eddelbuettel <edd@debian.org>
Author: Whit Armstrong, Dirk Eddelbuettel and John Laing
Imports: Rcpp (>= 0.11.0), utils
Expand Down
13 changes: 7 additions & 6 deletions R/lookup.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@
##' @return A data.frame with two columns of the ticker and description of each
##' match.
##' @author Kevin Jin
lookup <- function(query,
yellowkey = c("none", "cmdt", "eqty", "muni", "prfd", "clnt", "mmkt",
"govt", "corp", "indx", "curr", "mtge"),
language = c("none", "english", "kanji", "french", "german", "spanish",
"portuguese", "italian", "chinese_trad", "korean", "chinese_simp",
"none_1", "none_2", "none_3", "none_4", "none_5", "russian"),
lookupSecurity <- function(query,
yellowkey = c("none", "cmdt", "eqty", "muni", "prfd", "clnt", "mmkt",
"govt", "corp", "indx", "curr", "mtge"),
language = c("none", "english", "kanji", "french", "german", "spanish",
"portuguese", "italian", "chinese_trad", "korean",
"chinese_simp", "none_1", "none_2", "none_3", "none_4",
"none_5", "russian"),
maxResults = 20,
verbose = FALSE,
con = defaultConnection()) {
Expand Down
16 changes: 8 additions & 8 deletions man/lookup.Rd → man/lookupSecurity.Rd

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

0 comments on commit 0f29557

Please sign in to comment.