Skip to content

Commit

Permalink
changed SimFin to 'SimFin'
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgomolka committed Sep 24, 2020
1 parent 4143cd8 commit c43e2d9
Show file tree
Hide file tree
Showing 23 changed files with 39 additions and 39 deletions.
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2020-09-08.
Once it is accepted, delete this file and tag the release (commit 9cc149c).
This package was submitted to CRAN on 2020-09-10.
Once it is accepted, delete this file and tag the release (commit 086a5e6).
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Type: Package
Package: simfinapi
Title: Accessing SimFin Data
Title: Accessing 'SimFin' Data
Version: 0.1.0
Authors@R:
person(given = "Matthias",
family = "Gomolka",
role = c("aut", "cre"),
email = "matthias.gomolka@posteo.de")
Description: Through simfinapi, you can intuitively access the
SimFin Web-API (<https://simfin.com/>) to make SimFin data easily
available in R. To obtain an SimFin API key (and thus to use this
'SimFin' Web-API (<https://simfin.com/>) to make 'SimFin' data easily
available in R. To obtain an 'SimFin' API key (and thus to use this
package), you need to register at <https://simfin.com/login>.
License: GPL-3
URL: https://github.com/Plebejer/simfinapi
Expand Down
2 changes: 1 addition & 1 deletion R/call_api.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ call_api <- function(..., cache_dir) {
)

if (utils::hasName(content, "error")) {
warning("From SimFin API: '", content[["error"]], "'", call. = FALSE)
warning("From 'SimFin' API: '", content[["error"]], "'", call. = FALSE)
return(NULL)
}

Expand Down
4 changes: 2 additions & 2 deletions R/sfa_get_entities.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#' Get a table of all available SimFin ID's with ticker and name.
#' @param api_key [character] Your SimFin API key. It's recommended to set
#' Get a table of all available 'SimFin' ID's with ticker and name.
#' @param api_key [character] Your 'SimFin' API key. It's recommended to set
#' the API key globally using [sfa_set_api_key].
#' @param cache_dir [character] Your cache directory. It's recommended to set
#' the cache directory globally using [sfa_set_cache_dir].
Expand Down
6 changes: 3 additions & 3 deletions R/sfa_get_info.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Get basic company information
#' @description Internal function.
#' @param ticker [integer] Ticker of the companies of interest.
#' @param api_key `[character(1)]` Your SimFin API key. For simplicity use
#' @param api_key `[character(1)]` Your 'SimFin' API key. For simplicity use
#' `options(sfa_api_key = "yourapikey")`.
#' @param cache_dir [character] Your cache directory. It's recommended to set
#' the cache directory globally using [sfa_set_cache_dir].
Expand Down Expand Up @@ -39,11 +39,11 @@ sfa_get_info_ <- function(ticker, api_key, cache_dir) {

#' Get basic company information
#' @param Ticker [integer] Ticker of the companies of interest.
#' @param SimFinId [integer] SimFin IDs of the companies of interest. Any
#' @param SimFinId [integer] 'SimFin' IDs of the companies of interest. Any
#' SimFinId will be internally translated to the respective `Ticker`. This
#' reduces the number of queries if you would query the same company via
#' `Ticker` *and* `SimFinId`.
#' @param api_key [character] Your SimFin API key. It's recommended to set
#' @param api_key [character] Your 'SimFin' API key. It's recommended to set
#' the API key globally using [sfa_set_api_key].
#' @param cache_dir [character] Your cache directory. It's recommended to set
#' the cache directory globally using [sfa_set_cache_dir].
Expand Down
4 changes: 2 additions & 2 deletions R/sfa_get_statement.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ sfa_get_statement_ <- function(

#' Get basic company information
#' @param Ticker [integer] Ticker of the companies of interest.
#' @param SimFinId [integer] SimFin IDs of the companies of interest. Any
#' @param SimFinId [integer] 'SimFin' IDs of the companies of interest. Any
#' SimFinId will be internally translated to the respective `Ticker`. This
#' reduces the number of queries if you would query the same company via
#' `Ticker` *and* `SimFinId`.
Expand Down Expand Up @@ -129,7 +129,7 @@ sfa_get_statement_ <- function(
#' & diluted shares outstanding for each period along with the fundamentals.
#' Reserved for SimFin+ users (as non-SimFin+ user, you can still use the
#' shares outstanding endpoints).
#' @param api_key [character] Your SimFin API key. It's recommended to set
#' @param api_key [character] Your 'SimFin' API key. It's recommended to set
#' the API key globally using [sfa_set_api_key].
#' @param cache_dir [character] Your cache directory. It's recommended to set
#' the cache directory globally using [sfa_set_cache_dir].
Expand Down
2 changes: 1 addition & 1 deletion R/sfa_set_api_key.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Set your SimFin API key globally
#' Set your 'SimFin' API key globally
#' @description It is highly recommended to set the API key globally as it makes
#' specifying the `api_key` argument of other `sfa_*` functions obsolete.
#'
Expand Down
4 changes: 2 additions & 2 deletions R/sfa_set_cache_dir.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
#' @description It is highly recommended to set the cache directory globally.
#' This has two advantages:
#'
#' 1. Results from the SimFin API calls are cached over the end of the
#' 1. Results from the 'SimFin' API calls are cached over the end of the
#' session. This is especially interesting if you don't have a SimFin+ account
#' and the number of API calls is limited to 2,000 per day.
#' 2. It makes specifying the `cache_dir` argument of other `sfa_*` functions
#' obsolete.
#'
#' @param path [character] The directory where you want to cache the responses
#' from the SimFin API calls.
#' from the 'SimFin' API calls.
#' @param create [logical] Set `TRUE` if you want to create `path` automatically
#' if it does not yet exist.
sfa_set_cache_dir <- function(path, create = FALSE) {
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ theme_set(theme_minimal())
`r badge_dependencies()`

## What does simfinapi do?
simfinapi wraps the https://simfin.com/ Web-API to make SimFin data easily
simfinapi wraps the https://simfin.com/ Web-API to make 'SimFin' data easily
available in R.

*To use the package, you need to register at https://simfin.com/login and obtain
a SimFin API key.*
a 'SimFin' API key.*


## Example
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ status](https://github.com/Plebejer/simfinapi/workflows/R-CMD-check/badge.svg)](

## What does simfinapi do?

simfinapi wraps the <https://simfin.com/> Web-API to make SimFin data
simfinapi wraps the <https://simfin.com/> Web-API to make SimFin data
easily available in R.

*To use the package, you need to register at <https://simfin.com/login>
and obtain a SimFin API key.*
and obtain a SimFin API key.*

## Example

Expand Down
4 changes: 2 additions & 2 deletions man/check_inputs.Rd

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

Binary file modified man/figures/README-plot_data-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-recreate_plot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions man/sfa_get_entities.Rd

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

4 changes: 2 additions & 2 deletions man/sfa_get_info.Rd

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

2 changes: 1 addition & 1 deletion man/sfa_get_info_.Rd

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

4 changes: 2 additions & 2 deletions man/sfa_get_prices.Rd

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

4 changes: 2 additions & 2 deletions man/sfa_get_shares.Rd

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

2 changes: 1 addition & 1 deletion man/sfa_get_shares_.Rd

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

4 changes: 2 additions & 2 deletions man/sfa_get_statement.Rd

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

2 changes: 1 addition & 1 deletion man/sfa_get_statement_.Rd

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

2 changes: 1 addition & 1 deletion man/sfa_set_api_key.Rd

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

4 changes: 2 additions & 2 deletions man/sfa_set_cache_dir.Rd

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

0 comments on commit c43e2d9

Please sign in to comment.