This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
setwd("..\\shiny_app\\Nat_Hos_Ranking\\hospital_ranking") | |
# Read the data | |
hosp_ranking <- read.csv("cleaned_data3.csv", stringsAsFactors = FALSE) | |
hosp_ranking$Name <- enc2native(hosp_ranking$Name) | |
hosp_ranking$Address <- enc2native(hosp_ranking$Address) | |
hosp_ranking$Telephone <- enc2native(hosp_ranking$Telephone) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Fatalities in Terrorist Violence in India's Northeast 1992-2016 ### | |
## Date: 16-Aug-16 | |
# Set working directory | |
setwd("..\\manipur\\terror\\Data") | |
# Load the packages | |
require(rvest) | |
require(dplyr) | |
require(ggplot2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require(shiny) | |
require(shinydashboard) | |
require(ggplot2) | |
require(ggthemes) | |
require(magrittr) | |
sample <- read.csv("new_sample4.csv", stringsAsFactors = FALSE) | |
header <- dashboardHeader(title = "XYZ School Student Dashboard", titleWidth = 370) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(xts) | |
library(dygraphs) | |
library(data.table) | |
india <- fread("india.csv") | |
# Define UI for application that draws a histogram | |
ui <- fluidPage( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To extract tweets from twitter | |
# Load the required libraries | |
require(twitteR) | |
require(stringr) | |
require(syuzhet) | |
# Set working directory | |
setwd("..\\tweet_analysis\\Airlines") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Major earthquake in Indian Sub-continent | |
## Load the libraries | |
library(shiny) | |
library(leaflet) | |
# Attach the data | |
quake_data <- read.csv("india.csv", stringsAsFactors = FALSE) | |
# UI side |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Shiny app for Hospital Directory | |
# Load the package | |
require(shiny) | |
# Data is cleaned and reloaded | |
hosp <- read.csv("cleaned2.csv", stringsAsFactors = FALSE) | |
# Define the overall UI | |
ui <- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Temperature of Indian Cities ### | |
# Load the require libraries | |
require(data.table) | |
require(ggplot2) | |
require(ggthemes) | |
# Set working directories | |
setwd("..\\Global Temperature") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Religious Population Map of India and Northeast India | |
# Load the the necessary packages | |
require(choroplethrAdmin1) | |
require(choroplethr) | |
# Set working directory | |
setwd("..\\Data\\census") | |
# Load the data | |
rel_pop <- read.csv("pop_rel_com_2011.csv") | |
# Drop not-require observations and variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Words count of Bhagavadgita text ### | |
# Load the necessary packages | |
require(wordcloud) | |
require(tm) | |
# Set working directory | |
setwd("..\\Words Cloud for Bhagavadgita") | |
# Get the data from the site - www.gutenberg.org where all the texts are available for free |