Skip to content

Commit

Permalink
Add project - Update path\
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorv74 committed Apr 19, 2020
1 parent 6e96588 commit 546e471
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/R/act-section-analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extract_act_and_section <- function(act_json){

jh_data <-
read_csv(
"exp/repos/stop-66A/data/jharkhand_data_report_IT_act.csv",
"data/jharkhand_data_report_IT_act.csv",
col_types = cols(
date_of_filing = col_date(format = "%Y-%m-%d"),
date_of_registration = col_date(format = "%Y-%m-%d")
Expand All @@ -33,7 +33,7 @@ for(i in 1:nrow(jh_data)){
print(glue("{i} -- {jh_data$CNR[[i]]}"))
}

write_csv(act_master, "~/exp/repos/stop-66A/data/jh_act_section_cnr.csv")
write_csv(act_master, "data/jh_act_section_cnr.csv")

# act_json <- jh_data$act_json[sample(nrow(jh_data),1)]
# x <- extract_act_and_section(act_json)
Expand Down
13 changes: 13 additions & 0 deletions stop-66A.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX

0 comments on commit 546e471

Please sign in to comment.