Skip to content

Commit 6da321d

Browse files
committed
Inicio
0 parents  commit 6da321d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+131936
-0
lines changed

.Rprofile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source("renv/activate.R")
2+
3+
# source("scripts/funciones2.R")
4+
5+
# cargo los paquetes necesarios
6+
# paquetes()

.gitignore

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# History files
2+
.Rhistory
3+
.Rapp.history
4+
5+
# Session Data files
6+
.RData
7+
.RDataTmp
8+
9+
# User-specific files
10+
.Ruserdata
11+
12+
# Example code in package build process
13+
*-Ex.R
14+
15+
# Output files from R CMD build
16+
/*.tar.gz
17+
18+
# Output files from R CMD check
19+
/*.Rcheck/
20+
21+
# RStudio files
22+
.Rproj.user/
23+
24+
# produced vignettes
25+
vignettes/*.html
26+
vignettes/*.pdf
27+
28+
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
29+
.httr-oauth
30+
31+
# knitr and R markdown default cache directories
32+
*_cache/
33+
/cache/
34+
35+
# Temporary files created by R markdown
36+
*.utf8.md
37+
*.knit.md
38+
39+
# R Environment Variables
40+
.Renviron
41+
42+
# pkgdown site
43+
docs/
44+
45+
# translation temp files
46+
po/*~
47+
48+
# RStudio Connect folder
49+
rsconnect/

_publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- source: index.qmd
2+
quarto-pub:
3+
- id: ff90d76c-20c0-4210-8791-5d868ede4c50
4+
url: 'https://vhgauto.quarto.pub/gistaq-parana'

_targets.R

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
library(targets)
2+
3+
# paquetes
4+
tar_option_set(packages = c("glue", "terra", "sf", "tidyverse"))
5+
6+
# funciones
7+
source("scripts/funciones3.R")
8+
9+
# cue = tar_cue(mode = "always")
10+
11+
# browseURL("https://raps-with-r.dev/targets.html")
12+
13+
# targets
14+
list(
15+
# archivo Excel, con la fecha y sitios de muestreo
16+
tar_target(
17+
name = excel,
18+
command = archivo_excel(),
19+
format = "file"),
20+
21+
# fecha para la descarga de producto
22+
tar_target(
23+
name = fecha_descarga,
24+
command = fecha(excel)),
25+
26+
# script para la descarga de producto
27+
tar_target(
28+
name = script_py,
29+
command = script_descarga_py(fecha_descarga),
30+
format = "file"),
31+
32+
# ejecuto la descarga del producto
33+
tar_target(
34+
name = producto_zip,
35+
command = descarga(script_py),
36+
# format = "file"
37+
),
38+
39+
# recorto el producto al área de interés
40+
tar_target(
41+
name = recorte_tif,
42+
command = recorte(producto_zip, fecha_descarga),
43+
format = "file"),
44+
45+
# extraigo los valores de píxel
46+
tar_target(
47+
name = datos_gis,
48+
command = reflectancia(excel, fecha_descarga, recorte_tif),
49+
format = "file"),
50+
51+
# extraigo parámetros de laboratorio
52+
tar_target(
53+
name = datos_lab,
54+
command = lab(excel),
55+
format = "file")
56+
)

_targets/.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# CAUTION: do not edit this file by hand!
2+
# _targets/objects/ may have large data files,
3+
# and _targets/meta/process may have sensitive information.
4+
# It is good pratice to either commit nothing from _targets/,
5+
# or if your data is not too sensitive,
6+
# commit only _targets/meta/meta.
7+
*
8+
!.gitignore
9+
!meta
10+
meta/*
11+
!meta/meta

_targets/meta/meta

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name|type|data|command|depend|seed|path|time|size|bytes|format|repository|iteration|parent|children|seconds|warnings|error
2+
archivo_excel|function|b4b1002c511fe9a1|||||||||||||||
3+
datos_csv|stem|b6ae59cefeb52da1|4566e04940e7533c|22598816ce8d7dbd|1495007528||t19774.6110416667s|dff9495c51b724c1|77|rds|local|vector|||0.88||
4+
datos_gis|stem|ffa10f045a10771b|e9b36857913a476f|a492b2399e908dcc|-791273998|datos/base_de_datos_gis.csv|t19876.202028933s|181b959a3886259c|51603|file|local|vector|||5.49||
5+
datos_lab|stem|ddca28ca843d38fb|75ccb77fe81d974a|f3bb6e8267555d1a|-1988609623|datos/base_de_datos_lab.csv|t19878.5033328294s|3104cc6fd17c7b24|8353|file|local|vector|||0.38||
6+
descarga|function|a4bd59970ae52375|||||||||||||||
7+
elimino|function|b6115b729c12fba4|||||||||||||||
8+
excel|stem|242449d73537cf58|0219056f476b7b34|2d5d706561d52a1f|1409772121|datos/datos_gistaq.xlsx|t19879.816412037s|0b0ebf62f2b0873d|260364|file|local|vector|||3.22||
9+
fecha|function|a632d05890d5be75|||||||||||||||
10+
fecha_descarga|stem|d2b67d649dd8c79a|a8321c9cd2a3ec39|d1f4fed814b1960d|-151480655||t19878.5033348877s|e7b83425a991cb39|73|rds|local|vector|||0.14||
11+
lab|function|139e0b6eaa09407b|||||||||||||||
12+
mensaje|function|6fa3f8aeb026ec74|||||||||||||||
13+
paquetes|function|9bbb32c9300a64d5|||||||||||||||
14+
producto_zip|stem|6f565d7ef0492560|97ee7c178272097a|7cf1f586e0468a28|1726391680||t19876.2019652096s|4d3508554cc2b0df|67|rds|local|vector|||137.44||
15+
recorte|function|f2e51b741387648a|||||||||||||||
16+
recorte_tif|stem|7dbda6ff4197ef1a|546b86ae07da3d18|01649aa3bd424f79|-49889018|recorte/wrap_recorte.rds|t19876.2020240669s|ac1a0a3140b3f963|1159618|file|local|vector|||5.08||
17+
reflectancia|function|977d40dd5cf2f9c1|||||||||||||||
18+
script_descarga_py|function|2489bf5992e53399|||||||||||||||
19+
script_py|stem|1d494c7abb60da57|ea3b561b82165349|95526aef1db776f9|-1082207437|scripts/d.py|t19876.2003742283s||3274|file|local|vector|||0.05||argumento replacement inválido
20+
x|object|7ac6ce5ac0ce418d|||||||||||||||

calendario_2024.pdf

686 KB
Binary file not shown.
272 KB
Binary file not shown.
267 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)