Skip to content

wvictor14/rbiotechsalary

Repository files navigation

rbiotechsalary

Installation

You can install the development version of rbiotechsalary from GitHub with:

# install.packages("devtools")
devtools::install_github("wvictor14/rbiotechsalary")

goals of this project

  1. Provide user-friendly access to cleaned biotech salary information from r/biotech
    • focus on normalizing the most relevant variables
  2. Convey a minimal but relevant set of statistics and visualizations on salary information
    • enable relevant queries with customized search based on normalized (cleaned) data for role titles, and location data
  3. Promote community involvement and open-source frameworks
    • allow user to explore raw data
    • open-access data provenance

Task list

Ideas

? indicate still considering if worth

deployment

  • dockerize
  • decide on hosting service - digital ocean
  • deploy
  • automate software updates
  • automate data updates
    • regular pulling updates from google sheets
    • target pipeline
    • automate new data cleaning and uploading

General

  • add research associate data
  • add other departments like product dev, clinical, business etc.

For cleaning

Targeted minimum set of variables:

  • timestamp
  • role title
  • location
  • salary base
  • salary bonus
  • experience years

For app

Filters

  • add filter by location
  • add filter by timestamp
    • select by year, or by all
  • add filter by role title

Salary graphs

How to lay these out? by tabs?

  • salary x experience
    • raw data - cool
  • histogram
    • toggle between base / total
    • show median in text + line
    • show range (10th and 90th percentile?)

Table

  • reactable winner over gt and DT -> server side processing, feature-ful and looks good
  • show TC and breakdown base and bonus concisely - merge_cols()
  • finalize column inclusion
    • options good to include

docker

for remembering how to docker:

docker container ls
docker exec -it <container_name> bash

# stop and remove
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

# build and push
docker build -t rbiotechsalary .
docker tag rbiotechsalary victor2wy/rbiotechsalary
docker push victor2wy/rbiotechsalary # push to dockerhub

# run
docker run --user shiny -dp 3838:3838 victor2wy/rbiotechsalary #dockerhub

docker pull victor2wy/rbiotechsalary:latest
docker run --user shiny -p 3838:3838  rbiotechsalary # local

About

reddit r/biotech salary

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published