Skip to content

Commit

Permalink
Fixed that badge finally.
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Sep 11, 2017
1 parent ab7a5be commit a111d60
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The goal of glassdoor is to provide a Glassdoor API for R

[![Travis build status](https://travis-ci.org/muschellij2/glassdoor.svg?branch=master)](https://travis-ci.org/muschellij2/glassdoor)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/muschellij2/glassdoor?branch=master&svg=true)](https://ci.appveyor.com/project/muschellij2/glassdoor)
[![Coverage status](https://img.shields.io/coveralls/muschellij2/glassdoor.svg)](https://coveralls.io/r/muschellij2/glassdoor?branch=master)
[![Coverage status](https://coveralls.io/repos/github/muschellij2/glassdoor/badge.svg?branch=master)](https://coveralls.io/r/muschellij2/glassdoor?branch=master)
[![CRAN status](http://www.r-pkg.org/badges/version/glassdoor)](https://cran.r-project.org/package=glassdoor)


Expand Down
36 changes: 27 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
# glassdoor

<!-- README.md is generated from README.Rmd. Please edit that file -->
glassdoor
=========

The goal of glassdoor is to provide a Glassdoor API for R

[![Travis build status](https://travis-ci.org/muschellij2/glassdoor.svg?branch=master)](https://travis-ci.org/muschellij2/glassdoor)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/muschellij2/glassdoor?branch=master&svg=true)](https://ci.appveyor.com/project/muschellij2/glassdoor)
[![Coverage status](https://img.shields.io/coveralls/muschellij2/glassdoor.svg)](https://coveralls.io/r/muschellij2/glassdoor?branch=master)
[![CRAN status](http://www.r-pkg.org/badges/version/glassdoor)](https://cran.r-project.org/package=glassdoor)

## Example
[![Travis build status](https://travis-ci.org/muschellij2/glassdoor.svg?branch=master)](https://travis-ci.org/muschellij2/glassdoor) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/muschellij2/glassdoor?branch=master&svg=true)](https://ci.appveyor.com/project/muschellij2/glassdoor) [![Coverage status](https://coveralls.io/repos/github/muschellij2/glassdoor/badge.svg?branch=master)](https://coveralls.io/r/muschellij2/glassdoor?branch=master) [![CRAN status](http://www.r-pkg.org/badges/version/glassdoor)](https://cran.r-project.org/package=glassdoor)

Installation
------------

You can install glassdoor from github with:

``` r
# install.packages("devtools")
devtools::install_github("muschellij2/glassdoor")
```

Glassdoor API Keys
------------------

In order to use the `glassdoor` package, you need an API key from Glassdoor (either <https://www.glassdoor.com/developer/register_input.htm> or click Get API key from <https://www.glassdoor.com/developer/index.htm>).

This is a basic example which shows you how to solve a common problem:
After that is done, you need to set up the API keys. The keys are grabbed using

``` r
## basic example code
Sys.getenv("GLASSDOOR_PID")
Sys.getenv("GLASSDOOR_PAT")
```

so you can set these either using `~/.Renviron` (will work generally) or your standard `.profile` or `.bash_profile` (if you work with command lines).

I recommend `.Renviron` as that works well with RStudio.

0 comments on commit a111d60

Please sign in to comment.