Crunch-io / rcrunch

R package for interacting with the Crunch API
https://crunch.io/r/crunch/
GNU Lesser General Public License v3.0
9 stars 15 forks source link

A WIP generation of crunch automation script for the folder order #562

Open gergness opened 3 years ago

gergness commented 3 years ago

Experiment in generating automation command to copy folder order.

Usage:

cat(generateOrganizeCommand(ds2))
#> ORGANIZE wave, age, healthy_eater, enjoy_mr, veg_enjoy_ca, ratings_numa INTO "";
#> ORGANIZE weight, last_vegetable, last_vegetable_date INTO "Survey variables";
#> ORGANIZE another_mr, weight3, veg_tasty2, new_array INTO "";
#> ORGANIZE enjoy_savory_food, enjoy_spicy_food, enjoy_sweet_food, veg_healthy, veg_filling, veg_environmental, rating_avocado, rating_brussel_sprout, rating_carrot, rating_daikon, rating_eggplant, rating_fennel, veg_tasty INTO HIDDEN;
#> ORGANIZE resp_id INTO SECURE;
codecov[bot] commented 3 years ago

Codecov Report

Merging #562 (4491cd0) into master (4150167) will decrease coverage by 0.49%. The diff coverage is 0.00%.

:exclamation: Current head 4491cd0 differs from pull request most recent head 4e114b9. Consider uploading reports for the commit 4e114b9 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master     #562      +/-   ##
==========================================
- Coverage   90.62%   90.12%   -0.50%     
==========================================
  Files         128      128              
  Lines        8179     8124      -55     
==========================================
- Hits         7412     7322      -90     
- Misses        767      802      +35     
Impacted Files Coverage Δ
R/folders.R 69.07% <0.00%> (-23.85%) :arrow_down:
R/automation.R 92.20% <0.00%> (-1.84%) :arrow_down:
R/slides.R 86.12% <0.00%> (-0.64%) :arrow_down:
R/api.R 92.50% <0.00%> (-0.53%) :arrow_down:
R/subtotals-and-headings.R 95.65% <0.00%> (-0.43%) :arrow_down:
R/show.R 87.86% <0.00%> (-0.35%) :arrow_down:
R/cube-transforms.R 95.70% <0.00%> (-0.08%) :arrow_down:
R/formula.R 99.37% <0.00%> (-0.02%) :arrow_down:
R/progress.R 100.00% <0.00%> (ø)
R/variables.R 100.00% <0.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4150167...4e114b9. Read the comment docs.