Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
output_data
raw_data
scripts
.gitignore
immigrant_visas.Rproj
readme.MD
server.R
shiny_app.png
ui.R

readme.MD

[This data is published under an Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license]

Immigrant Visas Explorer


R Shiny application to explore immigrant visa data from the U.S. State Department.

The department releases data annually and monthly in PDFs.

The data has been scraped, cleaned and organized in a downloadable format along with the app.

The repo can be downloaded and explored manually.

To run the app, you must have R version 3.5 or later installed first.

Via terminal

After you've installed R, In the terminal, run

R -e "install.packages('shiny', repos='http://cran.rstudio.com/')"
R -e "shiny::runGitHub('immigrant_visas', 'wpinvestigative', launch.browser=TRUE)"

Via RStudio

The application can be run locally with the following command in R Studio:

install.packages("shiny", repos="http://cran.rstudio.com/")
shiny::runGitHub("immigrant_visas", "wpinvestigative")

About the folders in this repo

  • scripts - Exploratory data analysis
  • raw_data - Raw data or consolidated spreadsheets from scraped PDFs
  • output_data - Cleaned data transformed from raw data used for analysis and the Shiny App