https://github.com/factset/analyticsapi-engines-r-sdk
https://github.com/factset/analyticsapi-engines-r-sdk
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/factset/analyticsapi-engines-r-sdk
- Owner: factset
- Created: 2019-11-25T15:53:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-14T05:49:24.000Z (almost 4 years ago)
- Last Synced: 2025-10-22T05:42:53.980Z (9 months ago)
- Size: 360 KB
- Stars: 4
- Watchers: 6
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Analytics API V3 R Programming Code Snippets
To integrate with FactSet's Analytics APIs. Code snippets are available for below APIs
* [PA Engine API](https://developer.factset.com/api-catalog/pa-engine-api)
## Requirements
* R-4.1.0 or higher
## Installation
* Install from CRAN:
```sh
Rscript -e "install.packages('factset.protobuf.stach.v2', repos = 'http://cran.us.r-project.org')"
Rscript -e "install.packages('factset.protobuf.stachextensions', repos = 'http://cran.us.r-project.org')"
```
## Usage
Refer [examples](examples) project for sample code snippets to quickly get started.
## Prerequisite
* Set the environment variables as below. Use the [Developer Portal Manage API Keys page](https://developer.factset.com/manage-api-keys) to get these values.
```r
Sys.setenv("ANALYTICS_API_URL" = "https://api.factset.com")
Sys.setenv("ANALYTICS_API_USERNAME_SERIAL" = "")
Sys.setenv("ANALYTICS_API_PASSWORD" = "")
```
## Contributing
* Projects [examples](examples) are open to enhancements and bug fixes. Please create a pull requests with the proposed changes.