data/
interactive_graph/
shape/
archives/
data_import_clean.R
ggplot_age_pyramid.R
shape.R
techniques.R
tmap.R
-
data_import_clean.R
- Inputs: From web
- Relation with
../web_source/index.Rmd
- Indirect: Run before rendering web (by bash command in
.travis.yml
), save./data/survey.rds
,./data/survey.csv
to./data/
.
- Indirect: Run before rendering web (by bash command in
- Outputs:
./data/survey.rds
,./data/survey.csv
- Description: Read data from googlesheets, clean data for further analysis.
-
gen_diff_categorical.R
-
animated_bar.R
-
cross_gen_lang_ability_ttest.R
-
facet_animated_map.R
- Inputs:
./data/zipcode_towncode.csv
,./data/survey.rds
,source("functions.R")
,./shape/TOWN_MOI_1070330.shp
- Relation with
../web_source/index.Rmd
- Indirect: Run before rendering web (by bash command in
.travis.yml
), save gif to../web_source/out_graph/
.index.Rmd
include_graphics inoutgraph/
.
- Indirect: Run before rendering web (by bash command in
- Outputs:
g1
- Inputs:
-
functions.R
- Inputs: Nothing
- Relation with
../web_source/index.Rmd
- Indirect: Sourced by other scripts but not by
index.Rmd
.
- Indirect: Sourced by other scripts but not by
- Outputs: Nothing
- Description: Define helper functions to make codes in other scripts more compacted.
-
bootstrap_fc.R
- Inputs: Nothing
- Relation with
../web_source/index.Rmd
- Direct:
bootstrap_fc.R
is only sourced byindex.Rmd
.
- Direct:
- Outputs: Nothing
- Description: Define R functions that wrap HTML defined bootstrap codes to make it easier to format the web (the
.Rmd
s).
./archives/ggplot_age_pyramid.R
: Experiment with animated bar plot.shape.R
: Experiment with package 'sf' & shapefile I/O.tmap.R
: Experiment with package 'tmap' for map making.techniques.R
: Playing around.
shape/
: 台灣鄉鎮市區界線 政府開放資料