From 9227669db4f77921a1a06a293c8b5690f026848d Mon Sep 17 00:00:00 2001 From: macataci Date: Fri, 27 Sep 2024 08:59:54 -0500 Subject: [PATCH 01/12] updates in disclaimers regarding data --- R/download_climate.R | 12 ++++++++---- R/download_demographic.R | 12 ++++++++---- R/download_geospatial.R | 12 ++++++++---- R/download_population_projections.R | 12 ++++++++---- README.Rmd | 18 ++++++++++++++++++ 5 files changed, 50 insertions(+), 16 deletions(-) diff --git a/R/download_climate.R b/R/download_climate.R index 46a8b39..31c5e83 100644 --- a/R/download_climate.R +++ b/R/download_climate.R @@ -193,10 +193,14 @@ download_climate_stations <- function(stations, start_date, end_date, tag) { message(strwrap( prefix = "\n", initial = "", c( - "Original data is retrieved from the Institute of Hydrology, Meteorology - and Environmental Studies (Instituto de Hidrolog\u00eda, - Meteorolog\u00eda y Estudios Ambientales - IDEAM).", - "Reformatted by package authors.", + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect the + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their + use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_demographic.R b/R/download_demographic.R index 41ac415..19428f5 100644 --- a/R/download_demographic.R +++ b/R/download_demographic.R @@ -27,10 +27,14 @@ download_demographic <- function(dataset) { message(strwrap( prefix = "\n", initial = "", c( - "Original data is retrieved from the National Administrative Department of - Statistics (Departamento Administrativo Nacional de - Estad\u00edstica - DANE).", - "Reformatted by package authors.", + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect the + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their + use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_geospatial.R b/R/download_geospatial.R index 0eae764..380cbae 100644 --- a/R/download_geospatial.R +++ b/R/download_geospatial.R @@ -70,10 +70,14 @@ download_geospatial <- function(spatial_level, simplified = TRUE, message(strwrap( prefix = "\n", initial = "", c( - "Original data is retrieved from the National Administrative Department of - Statistics (Departamento Administrativo Nacional de - Estad\u00edstica - DANE).", - "Reformatted by package authors.", + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect the + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their + use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_population_projections.R b/R/download_population_projections.R index eb2377e..3d356f1 100644 --- a/R/download_population_projections.R +++ b/R/download_population_projections.R @@ -97,10 +97,14 @@ download_pop_projections <- function(spatial_level, start_year, end_year, message(strwrap( prefix = "\n", initial = "", c( - "Original data is retrieved from the National Administrative Department of - Statistics (Departamento Administrativo Nacional de - Estad\u00edstica - DANE).", - "Reformatted by package authors.", + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect the + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their + use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/README.Rmd b/README.Rmd index 8fe4905..d3013a7 100644 --- a/README.Rmd +++ b/README.Rmd @@ -60,6 +60,24 @@ pak::pak("epiverse-trace/ColOpenData") - **Population projections:** Population Projections data contains the population projections and back projections from 1950 to 2070, considering the post COVID-19 update, which was calculated based on the results of 2018 CNPV. + +ColOpenData stores and distributes open data originally obtained from IDEAM and +DANE. It is important to note that the data retrieved from these sources has +been processed, transformed, and adapted to meet the functional requirements of +this package. These modifications may result in changes to the structure, +format, or content of the original data, and as such, the data provided by this +package does not represent the official datasets as maintained by IDEAM or DANE. +The development of this package is completely independent of these institutions, +and neither IDEAM, DANE, nor any other Colombian government body endorses, +sponsors, or is involved in the creation or maintenance of this package. +Consequently, they bear no responsibility for the data as presented within this +package. Furthermore, the authors of the ColOpenData assume no liability for any +outcomes resulting from the use or misuse of the data provided. The user is +solely responsible for how they utilize the data, and any conclusions drawn, +analyses performed, or actions taken based on this data are the user's +responsibility. This package and its authors make no claims to represent or act +on behalf of IDEAM, DANE, or any other official entity. + Documentation and vignettes are available for the modules in the [user vignettes](https://epiverse-trace.github.io/ColOpenData/). ### Related R Packages From 1f9bb3a65f1fb731075a1e723157a591fe248230 Mon Sep 17 00:00:00 2001 From: macataci Date: Fri, 27 Sep 2024 09:01:31 -0500 Subject: [PATCH 02/12] commi with styler --- R/download_climate.R | 12 ++++++------ R/download_demographic.R | 12 ++++++------ R/download_geospatial.R | 12 ++++++------ R/download_population_projections.R | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/R/download_climate.R b/R/download_climate.R index 31c5e83..8bca89e 100644 --- a/R/download_climate.R +++ b/R/download_climate.R @@ -193,13 +193,13 @@ download_climate_stations <- function(stations, start_date, end_date, tag) { message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) diff --git a/R/download_demographic.R b/R/download_demographic.R index 19428f5..93f383a 100644 --- a/R/download_demographic.R +++ b/R/download_demographic.R @@ -27,13 +27,13 @@ download_demographic <- function(dataset) { message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) diff --git a/R/download_geospatial.R b/R/download_geospatial.R index 380cbae..352bab4 100644 --- a/R/download_geospatial.R +++ b/R/download_geospatial.R @@ -70,13 +70,13 @@ download_geospatial <- function(spatial_level, simplified = TRUE, message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) diff --git a/R/download_population_projections.R b/R/download_population_projections.R index 3d356f1..1735fd8 100644 --- a/R/download_population_projections.R +++ b/R/download_population_projections.R @@ -97,13 +97,13 @@ download_pop_projections <- function(spatial_level, start_year, end_year, message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter + "ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their + official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how users + utilize the data, and users are responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) From dbe886d25231e130b4b45d41511ca89bc0449c95 Mon Sep 17 00:00:00 2001 From: macataci Date: Fri, 27 Sep 2024 09:15:31 -0500 Subject: [PATCH 03/12] update --- tests/testthat/_snaps/download_climate.md | 36 ++++++++++++------- tests/testthat/_snaps/download_demographic.md | 12 ++++--- tests/testthat/_snaps/download_geospatial.md | 24 ++++++++----- .../_snaps/download_population_projections.md | 12 ++++--- .../testthat/_snaps/merge_geo_demographic.md | 12 ++++--- 5 files changed, 64 insertions(+), 32 deletions(-) diff --git a/tests/testthat/_snaps/download_climate.md b/tests/testthat/_snaps/download_climate.md index a9eb2a8..6fad015 100644 --- a/tests/testthat/_snaps/download_climate.md +++ b/tests/testthat/_snaps/download_climate.md @@ -29,10 +29,14 @@ download_climate_stations(stations = stations_test, start_date = "2010-10-01", end_date = "2010-12-10", tag = "PTPM_CON") Message - Original data is retrieved from the Institute of Hydrology, Meteorology - and Environmental Studies (Instituto de Hidrología, Meteorología y - Estudios Ambientales - IDEAM). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output station longitude latitude date hour tag value @@ -113,10 +117,14 @@ download_climate_geom(geometry = apicala, start_date = "2010-10-01", end_date = "2010-11-10", tag = "PTPM_CON") Message - Original data is retrieved from the Institute of Hydrology, Meteorology - and Environmental Studies (Instituto de Hidrología, Meteorología y - Estudios Ambientales - IDEAM). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output station longitude latitude date hour tag value @@ -167,10 +175,14 @@ download_climate(code = "73148", start_date = "2018-10-01", end_date = "2018-11-10", tag = "PTPM_CON") Message - Original data is retrieved from the Institute of Hydrology, Meteorology - and Environmental Studies (Instituto de Hidrología, Meteorología y - Estudios Ambientales - IDEAM). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output station longitude latitude date hour tag value diff --git a/tests/testthat/_snaps/download_demographic.md b/tests/testthat/_snaps/download_demographic.md index c10bd82..43b286e 100644 --- a/tests/testthat/_snaps/download_demographic.md +++ b/tests/testthat/_snaps/download_demographic.md @@ -3,10 +3,14 @@ Code download_demographic("DANE_CNPVH_2018_1HD") Message - Original data is retrieved from the National Administrative Department - of Statistics (Departamento Administrativo Nacional de Estadística - - DANE). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output codigo_departamento diff --git a/tests/testthat/_snaps/download_geospatial.md b/tests/testthat/_snaps/download_geospatial.md index 4f9c0e8..f05044c 100644 --- a/tests/testthat/_snaps/download_geospatial.md +++ b/tests/testthat/_snaps/download_geospatial.md @@ -4,10 +4,14 @@ download_geospatial(spatial_level = "department", simplified = TRUE, include_geom = TRUE, include_cnpv = FALSE) Message - Original data is retrieved from the National Administrative Department - of Statistics (Departamento Administrativo Nacional de Estadística - - DANE). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output Simple feature collection with 33 features and 6 fields @@ -45,10 +49,14 @@ download_geospatial(spatial_level = "dpto", simplified = TRUE, include_geom = FALSE, include_cnpv = TRUE) Message - Original data is retrieved from the National Administrative Department - of Statistics (Departamento Administrativo Nacional de Estadística - - DANE). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output codigo_departamento departamento diff --git a/tests/testthat/_snaps/download_population_projections.md b/tests/testthat/_snaps/download_population_projections.md index b98c6f0..5d99e17 100644 --- a/tests/testthat/_snaps/download_population_projections.md +++ b/tests/testthat/_snaps/download_population_projections.md @@ -8,10 +8,14 @@ Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0. i Please use `all_of(var)` (or `any_of(var)`) instead of `.data[[var]]` Message - Original data is retrieved from the National Administrative Department - of Statistics (Departamento Administrativo Nacional de Estadística - - DANE). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output codigo_departamento departamento ano diff --git a/tests/testthat/_snaps/merge_geo_demographic.md b/tests/testthat/_snaps/merge_geo_demographic.md index cb01bb6..117321a 100644 --- a/tests/testthat/_snaps/merge_geo_demographic.md +++ b/tests/testthat/_snaps/merge_geo_demographic.md @@ -3,10 +3,14 @@ Code merge_geo_demographic("DANE_CNPVH_2018_1HD") Message - Original data is retrieved from the National Administrative Department - of Statistics (Departamento Administrativo Nacional de Estadística - - DANE). - Reformatted by package authors. + ColOpenData provides open data derived from IDEAM and DANE but with + modifications for specific functional needs. These changes may alter + the structure, format, or content, meaning the data does not reflect + the official dataset. The package is developed independently, with no + endorsement or involvement from these institutions or any Colombian + government body. The authors of ColOpenData are not liable for how + users utilize the data, and users are responsible for any outcomes from + their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output Simple feature collection with 33 features and 9 fields From c56a7a9a7bac298b7b1659995744f09a790e7fc7 Mon Sep 17 00:00:00 2001 From: macataci Date: Tue, 1 Oct 2024 00:19:36 -0500 Subject: [PATCH 04/12] updates in disclaimers --- R/download_climate.R | 17 +++++++------- R/download_demographic.R | 17 +++++++------- R/download_geospatial.R | 17 +++++++------- R/download_population_projections.R | 17 +++++++------- README.Rmd | 35 +++++++++++++++-------------- 5 files changed, 54 insertions(+), 49 deletions(-) diff --git a/R/download_climate.R b/R/download_climate.R index 8bca89e..822e428 100644 --- a/R/download_climate.R +++ b/R/download_climate.R @@ -193,14 +193,15 @@ download_climate_stations <- function(stations, start_date, end_date, tag) { message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their - use or analysis of the data.", + "ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, format, + or content, meaning the data does not reflect the official dataset. The + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_demographic.R b/R/download_demographic.R index 93f383a..1876c1a 100644 --- a/R/download_demographic.R +++ b/R/download_demographic.R @@ -27,14 +27,15 @@ download_demographic <- function(dataset) { message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their - use or analysis of the data.", + "ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, format, + or content, meaning the data does not reflect the official dataset. The + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_geospatial.R b/R/download_geospatial.R index 352bab4..8a1ae1e 100644 --- a/R/download_geospatial.R +++ b/R/download_geospatial.R @@ -70,14 +70,15 @@ download_geospatial <- function(spatial_level, simplified = TRUE, message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their - use or analysis of the data.", + "ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, format, + or content, meaning the data does not reflect the official dataset. The + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_population_projections.R b/R/download_population_projections.R index 1735fd8..f0f5230 100644 --- a/R/download_population_projections.R +++ b/R/download_population_projections.R @@ -97,14 +97,15 @@ download_pop_projections <- function(spatial_level, start_year, end_year, message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect the - official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how users - utilize the data, and users are responsible for any outcomes from their - use or analysis of the data.", + "ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, format, + or content, meaning the data does not reflect the official dataset. The + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/README.Rmd b/README.Rmd index d3013a7..b062981 100644 --- a/README.Rmd +++ b/README.Rmd @@ -41,7 +41,7 @@ You can install the CRAN version of ColOpenData with: install.packages("ColOpenData") ``` -You can also install the development version of ColOpenData from [GitHub](https://github.com/) with: +You can also install the development version of ColOpenData from [GitHub](https://github.com/) with: ``` r # install.packages("pak") @@ -60,6 +60,23 @@ pak::pak("epiverse-trace/ColOpenData") - **Population projections:** Population Projections data contains the population projections and back projections from 1950 to 2070, considering the post COVID-19 update, which was calculated based on the results of 2018 CNPV. +Documentation and vignettes are available for the modules in the [user vignettes](https://epiverse-trace.github.io/ColOpenData/). + +### Related R Packages + +Similar R packages are offered for international communities, allowing the user to download census, geospatial and climate data. + +- [cancensus](https://mountainmath.github.io/cancensus/): Canada +- [censobr](https://ipeagit.github.io/censobr/): Brazil +- [chilemapas](https://github.com/pachadotdev/chilemapas/): Chile +- [geobr](https://ipeagit.github.io/geobr/) : Brazil +- [georAr](https://github.com/PoliticaArgentina/geoAr): Argentina +- [geouy](https://github.com/RichDeto/geouy): Uruguay +- [tidycensus](https://walker-data.com/tidycensus/): US +- [geofi](https://ropengov.github.io/geofi/): Finland +- [climate](https://bczernecki.github.io/climate/) + +### Disclaimer ColOpenData stores and distributes open data originally obtained from IDEAM and DANE. It is important to note that the data retrieved from these sources has @@ -78,22 +95,6 @@ analyses performed, or actions taken based on this data are the user's responsibility. This package and its authors make no claims to represent or act on behalf of IDEAM, DANE, or any other official entity. -Documentation and vignettes are available for the modules in the [user vignettes](https://epiverse-trace.github.io/ColOpenData/). - -### Related R Packages - -Similar R packages are offered for international communities, allowing the user to download census, geospatial and climate data. - -- [cancensus](https://mountainmath.github.io/cancensus/): Canada -- [censobr](https://ipeagit.github.io/censobr/): Brazil -- [chilemapas](https://github.com/pachadotdev/chilemapas/): Chile -- [geobr](https://ipeagit.github.io/geobr/) : Brazil -- [georAr](https://github.com/PoliticaArgentina/geoAr): Argentina -- [geouy](https://github.com/RichDeto/geouy): Uruguay -- [tidycensus](https://walker-data.com/tidycensus/): US -- [geofi](https://ropengov.github.io/geofi/): Finland -- [climate](https://bczernecki.github.io/climate/) - ### Lifecycle This package is currently *experimental*, as defined by the [RECON software lifecycle](https://www.reconverse.org/lifecycle.html). Therefore, this is a functional draft and can be tested outside of the development team. However, it still may change over time. From 9d8a913cdb34b68f1ded5f8184ea988a94be3c9c Mon Sep 17 00:00:00 2001 From: macataci Date: Tue, 1 Oct 2024 00:20:06 -0500 Subject: [PATCH 05/12] commit with styler --- R/download_climate.R | 8 ++++---- R/download_demographic.R | 8 ++++---- R/download_geospatial.R | 8 ++++---- R/download_population_projections.R | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/R/download_climate.R b/R/download_climate.R index 822e428..93daf20 100644 --- a/R/download_climate.R +++ b/R/download_climate.R @@ -198,10 +198,10 @@ download_climate_stations <- function(stations, start_date, end_date, tag) { Meteorology and Environmental Studies (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The - package is developed independently, with no endorsement or involvement - from these institutions or any Colombian government body. The authors of - ColOpenData are not liable for how users utilize the data, and users are - responsible for any outcomes from their use or analysis of the data.", + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_demographic.R b/R/download_demographic.R index 1876c1a..ce561ed 100644 --- a/R/download_demographic.R +++ b/R/download_demographic.R @@ -32,10 +32,10 @@ download_demographic <- function(dataset) { Meteorology and Environmental Studies (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The - package is developed independently, with no endorsement or involvement - from these institutions or any Colombian government body. The authors of - ColOpenData are not liable for how users utilize the data, and users are - responsible for any outcomes from their use or analysis of the data.", + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_geospatial.R b/R/download_geospatial.R index 8a1ae1e..73aa1b1 100644 --- a/R/download_geospatial.R +++ b/R/download_geospatial.R @@ -75,10 +75,10 @@ download_geospatial <- function(spatial_level, simplified = TRUE, Meteorology and Environmental Studies (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The - package is developed independently, with no endorsement or involvement - from these institutions or any Colombian government body. The authors of - ColOpenData are not liable for how users utilize the data, and users are - responsible for any outcomes from their use or analysis of the data.", + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_population_projections.R b/R/download_population_projections.R index f0f5230..63d26f8 100644 --- a/R/download_population_projections.R +++ b/R/download_population_projections.R @@ -102,10 +102,10 @@ download_pop_projections <- function(spatial_level, start_year, end_year, Meteorology and Environmental Studies (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The - package is developed independently, with no endorsement or involvement - from these institutions or any Colombian government body. The authors of - ColOpenData are not liable for how users utilize the data, and users are - responsible for any outcomes from their use or analysis of the data.", + package is developed independently, with no endorsement or involvement + from these institutions or any Colombian government body. The authors of + ColOpenData are not liable for how users utilize the data, and users are + responsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) From bcf3ddce651232c605bbdb9624918704123401ea Mon Sep 17 00:00:00 2001 From: macataci Date: Tue, 1 Oct 2024 00:31:42 -0500 Subject: [PATCH 06/12] snapshots updates --- tests/testthat/_snaps/download_climate.md | 54 ++++++++++--------- tests/testthat/_snaps/download_demographic.md | 18 ++++--- tests/testthat/_snaps/download_geospatial.md | 36 +++++++------ .../_snaps/download_population_projections.md | 18 ++++--- .../testthat/_snaps/merge_geo_demographic.md | 18 ++++--- 5 files changed, 80 insertions(+), 64 deletions(-) diff --git a/tests/testthat/_snaps/download_climate.md b/tests/testthat/_snaps/download_climate.md index 6fad015..d06cd1d 100644 --- a/tests/testthat/_snaps/download_climate.md +++ b/tests/testthat/_snaps/download_climate.md @@ -29,14 +29,16 @@ download_climate_stations(stations = stations_test, start_date = "2010-10-01", end_date = "2010-12-10", tag = "PTPM_CON") Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output station longitude latitude date hour tag value @@ -117,14 +119,16 @@ download_climate_geom(geometry = apicala, start_date = "2010-10-01", end_date = "2010-11-10", tag = "PTPM_CON") Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output station longitude latitude date hour tag value @@ -175,14 +179,16 @@ download_climate(code = "73148", start_date = "2018-10-01", end_date = "2018-11-10", tag = "PTPM_CON") Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output station longitude latitude date hour tag value diff --git a/tests/testthat/_snaps/download_demographic.md b/tests/testthat/_snaps/download_demographic.md index 43b286e..6c1e17e 100644 --- a/tests/testthat/_snaps/download_demographic.md +++ b/tests/testthat/_snaps/download_demographic.md @@ -3,14 +3,16 @@ Code download_demographic("DANE_CNPVH_2018_1HD") Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output codigo_departamento diff --git a/tests/testthat/_snaps/download_geospatial.md b/tests/testthat/_snaps/download_geospatial.md index f05044c..7604f3a 100644 --- a/tests/testthat/_snaps/download_geospatial.md +++ b/tests/testthat/_snaps/download_geospatial.md @@ -4,14 +4,16 @@ download_geospatial(spatial_level = "department", simplified = TRUE, include_geom = TRUE, include_cnpv = FALSE) Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output Simple feature collection with 33 features and 6 fields @@ -49,14 +51,16 @@ download_geospatial(spatial_level = "dpto", simplified = TRUE, include_geom = FALSE, include_cnpv = TRUE) Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output codigo_departamento departamento diff --git a/tests/testthat/_snaps/download_population_projections.md b/tests/testthat/_snaps/download_population_projections.md index 5d99e17..8f368b3 100644 --- a/tests/testthat/_snaps/download_population_projections.md +++ b/tests/testthat/_snaps/download_population_projections.md @@ -8,14 +8,16 @@ Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0. i Please use `all_of(var)` (or `any_of(var)`) instead of `.data[[var]]` Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output codigo_departamento departamento ano diff --git a/tests/testthat/_snaps/merge_geo_demographic.md b/tests/testthat/_snaps/merge_geo_demographic.md index 117321a..fa937d6 100644 --- a/tests/testthat/_snaps/merge_geo_demographic.md +++ b/tests/testthat/_snaps/merge_geo_demographic.md @@ -3,14 +3,16 @@ Code merge_geo_demographic("DANE_CNPVH_2018_1HD") Message - ColOpenData provides open data derived from IDEAM and DANE but with - modifications for specific functional needs. These changes may alter - the structure, format, or content, meaning the data does not reflect - the official dataset. The package is developed independently, with no - endorsement or involvement from these institutions or any Colombian - government body. The authors of ColOpenData are not liable for how - users utilize the data, and users are responsible for any outcomes from - their use or analysis of the data. + ColOpenData provides open data derived from The National Administrative + Department of Statistics (DANE), and the Institute of Hydrology, + Meteorology and Environmental Studies (IDEAM)but with modifications for + specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. + The authors of ColOpenData are not liable for how users utilize the + data, and users are responsible for any outcomes from their use or + analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output Simple feature collection with 33 features and 9 fields From 4ef6be95319d3c1e3753660d021c122f1a589f60 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 1 Oct 2024 05:36:31 +0000 Subject: [PATCH 07/12] Automatic readme update --- README.md | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 576ed80..83b5f22 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,8 @@ You can install the CRAN version of ColOpenData with: ``` r install.packages("ColOpenData") -#> Installing package into 'C:/Users/Julia/AppData/Local/Temp/RtmpwZnATh/temp_libpath46443860632b' +#> Installing package into '/home/runner/work/_temp/Library' #> (as 'lib' is unspecified) -#> Warning: package 'ColOpenData' is not available for this version of R -#> -#> A version of this package for your version of R might be available elsewhere, -#> see the ideas at -#> https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages ``` You can also install the development version of ColOpenData from @@ -57,10 +52,9 @@ pak::pak("epiverse-trace/ColOpenData") ## Quick Overview **ColOpenData** contains data from two public data sources: The National -Administrative Department of Statistics -[(DANE)](https://www.dane.gov.co/), and the Institute of Hydrology, -Meteorology and Environmental Studies [(IDEAM)](https://ideam.gov.co). -The available data is divided in four categories: +Administrative Department of Statistics (DANE), and the Institute of +Hydrology, Meteorology and Environmental Studies (IDEAM). The available +data is divided in four categories: - **Demographic:** Demographic and Socioeconomic data presents information from the National Population and Dwelling Census (CNPV) @@ -79,14 +73,12 @@ The available data is divided in four categories: provided by IDEAM, containing historical data from the first station in the country (January 1st 1920) until May 31st 2023. This backup includes temperature, precipitation, sunshine duration, wind - direction, among others.. + direction, among others. - **Population projections:** Population Projections data contains the population projections and back projections from 1950 to 2070, considering the post COVID-19 update, which was calculated based on - the results of 2018 CNPV. Further information can be consulted at - [DANE - website](https://www.dane.gov.co/index.php/estadisticas-por-tema/demografia-y-poblacion/proyecciones-de-poblacion). + the results of 2018 CNPV. Documentation and vignettes are available for the modules in the [user vignettes](https://epiverse-trace.github.io/ColOpenData/). @@ -106,6 +98,27 @@ the user to download census, geospatial and climate data. - [geofi](https://ropengov.github.io/geofi/): Finland - [climate](https://bczernecki.github.io/climate/) +### Disclaimer + +ColOpenData stores and distributes open data originally obtained from +IDEAM and DANE. It is important to note that the data retrieved from +these sources has been processed, transformed, and adapted to meet the +functional requirements of this package. These modifications may result +in changes to the structure, format, or content of the original data, +and as such, the data provided by this package does not represent the +official datasets as maintained by IDEAM or DANE. The development of +this package is completely independent of these institutions, and +neither IDEAM, DANE, nor any other Colombian government body endorses, +sponsors, or is involved in the creation or maintenance of this package. +Consequently, they bear no responsibility for the data as presented +within this package. Furthermore, the authors of the ColOpenData assume +no liability for any outcomes resulting from the use or misuse of the +data provided. The user is solely responsible for how they utilize the +data, and any conclusions drawn, analyses performed, or actions taken +based on this data are the user’s responsibility. This package and its +authors make no claims to represent or act on behalf of IDEAM, DANE, or +any other official entity. + ### Lifecycle This package is currently *experimental*, as defined by the [RECON From b3049f4e96b60710ca0789ebc50f4b5465c38c0a Mon Sep 17 00:00:00 2001 From: macataci Date: Wed, 9 Oct 2024 21:10:19 -0500 Subject: [PATCH 08/12] Language changes regarding data institution names --- R/download_climate.R | 10 +++++----- R/download_demographic.R | 10 +++++----- R/download_geospatial.R | 10 +++++----- R/download_population_projections.R | 10 +++++----- README.Rmd | 6 +++--- inst/WORDLIST | 6 ++++++ 6 files changed, 29 insertions(+), 23 deletions(-) diff --git a/R/download_climate.R b/R/download_climate.R index 93daf20..778c60b 100644 --- a/R/download_climate.R +++ b/R/download_climate.R @@ -193,11 +193,11 @@ download_climate_stations <- function(stations, start_date, end_date, tag) { message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for - specific functional needs. These changes may alter the structure, format, - or content, meaning the data does not reflect the official dataset. The + "ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología + y Estudios Ambientales (IDEAM)but with modifications for specific + functional needs. These changes may alter the structure, format, or + content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the data, and users are diff --git a/R/download_demographic.R b/R/download_demographic.R index ce561ed..694b3e2 100644 --- a/R/download_demographic.R +++ b/R/download_demographic.R @@ -27,11 +27,11 @@ download_demographic <- function(dataset) { message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for - specific functional needs. These changes may alter the structure, format, - or content, meaning the data does not reflect the official dataset. The + "ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología + y Estudios Ambientales (IDEAM)but with modifications for specific + functional needs. These changes may alter the structure, format, or + content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the data, and users are diff --git a/R/download_geospatial.R b/R/download_geospatial.R index 73aa1b1..20ac773 100644 --- a/R/download_geospatial.R +++ b/R/download_geospatial.R @@ -70,11 +70,11 @@ download_geospatial <- function(spatial_level, simplified = TRUE, message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for - specific functional needs. These changes may alter the structure, format, - or content, meaning the data does not reflect the official dataset. The + "ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología + y Estudios Ambientales (IDEAM)but with modifications for specific + functional needs. These changes may alter the structure, format, or + content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the data, and users are diff --git a/R/download_population_projections.R b/R/download_population_projections.R index 63d26f8..38b0537 100644 --- a/R/download_population_projections.R +++ b/R/download_population_projections.R @@ -97,11 +97,11 @@ download_pop_projections <- function(spatial_level, start_year, end_year, message(strwrap( prefix = "\n", initial = "", c( - "ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for - specific functional needs. These changes may alter the structure, format, - or content, meaning the data does not reflect the official dataset. The + "ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología + y Estudios Ambientales (IDEAM)but with modifications for specific + functional needs. These changes may alter the structure, format, or + content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the data, and users are diff --git a/README.Rmd b/README.Rmd index b062981..712db0b 100644 --- a/README.Rmd +++ b/README.Rmd @@ -37,7 +37,7 @@ ColOpenData is developed at [Universidad de Los Andes](https://uniandes.edu.co/) You can install the CRAN version of ColOpenData with: -```{r} +```{r eval=FALSE, include=TRUE} install.packages("ColOpenData") ``` @@ -50,7 +50,7 @@ pak::pak("epiverse-trace/ColOpenData") ## Quick Overview -**ColOpenData** contains data from two public data sources: The National Administrative Department of Statistics (DANE), and the Institute of Hydrology, Meteorology and Environmental Studies (IDEAM). The available data is divided in four categories: +**ColOpenData** contains data from two public data sources: Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología y Estudios Ambientales (IDEAM). The available data is divided in four categories: - **Demographic:** Demographic and Socioeconomic data presents information from the National Population and Dwelling Census (CNPV) of 2018. The CNPV data corresponds to the most recent census available to date and the information is presented as an answer to three questions: How many are we?, Where are we? and How do we live? @@ -62,7 +62,7 @@ pak::pak("epiverse-trace/ColOpenData") Documentation and vignettes are available for the modules in the [user vignettes](https://epiverse-trace.github.io/ColOpenData/). -### Related R Packages +### Similar R Packages Similar R packages are offered for international communities, allowing the user to download census, geospatial and climate data. diff --git a/inst/WORDLIST b/inst/WORDLIST index 76c80f4..4bf1f01 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -1,3 +1,9 @@ +Estadística +Instituto +Hidrología +Meteorología +Estudios +Ambientales Geospatial CMD Codecov From b970be9f43003b41c6a54f8565f7cf770bcc48fb Mon Sep 17 00:00:00 2001 From: macataci Date: Wed, 9 Oct 2024 21:25:05 -0500 Subject: [PATCH 09/12] updates --- README.md | 10 ++++------ tests/testthat/_snaps/download_climate.md | 18 +++++++++--------- tests/testthat/_snaps/download_demographic.md | 6 +++--- tests/testthat/_snaps/download_geospatial.md | 12 ++++++------ .../_snaps/download_population_projections.md | 6 +++--- tests/testthat/_snaps/merge_geo_demographic.md | 6 +++--- 6 files changed, 28 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 83b5f22..0e36124 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,6 @@ You can install the CRAN version of ColOpenData with: ``` r install.packages("ColOpenData") -#> Installing package into '/home/runner/work/_temp/Library' -#> (as 'lib' is unspecified) ``` You can also install the development version of ColOpenData from @@ -51,9 +49,9 @@ pak::pak("epiverse-trace/ColOpenData") ## Quick Overview -**ColOpenData** contains data from two public data sources: The National -Administrative Department of Statistics (DANE), and the Institute of -Hydrology, Meteorology and Environmental Studies (IDEAM). The available +**ColOpenData** contains data from two public data sources: Departamento +Administrativo Nacional de Estadística (DANE), and Instituto de +Hidrología, Meteorología y Estudios Ambientales (IDEAM). The available data is divided in four categories: - **Demographic:** Demographic and Socioeconomic data presents @@ -83,7 +81,7 @@ data is divided in four categories: Documentation and vignettes are available for the modules in the [user vignettes](https://epiverse-trace.github.io/ColOpenData/). -### Related R Packages +### Similar R Packages Similar R packages are offered for international communities, allowing the user to download census, geospatial and climate data. diff --git a/tests/testthat/_snaps/download_climate.md b/tests/testthat/_snaps/download_climate.md index d06cd1d..18112ad 100644 --- a/tests/testthat/_snaps/download_climate.md +++ b/tests/testthat/_snaps/download_climate.md @@ -29,9 +29,9 @@ download_climate_stations(stations = stations_test, start_date = "2010-10-01", end_date = "2010-12-10", tag = "PTPM_CON") Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or @@ -119,9 +119,9 @@ download_climate_geom(geometry = apicala, start_date = "2010-10-01", end_date = "2010-11-10", tag = "PTPM_CON") Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or @@ -179,9 +179,9 @@ download_climate(code = "73148", start_date = "2018-10-01", end_date = "2018-11-10", tag = "PTPM_CON") Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or diff --git a/tests/testthat/_snaps/download_demographic.md b/tests/testthat/_snaps/download_demographic.md index 6c1e17e..32d42b3 100644 --- a/tests/testthat/_snaps/download_demographic.md +++ b/tests/testthat/_snaps/download_demographic.md @@ -3,9 +3,9 @@ Code download_demographic("DANE_CNPVH_2018_1HD") Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or diff --git a/tests/testthat/_snaps/download_geospatial.md b/tests/testthat/_snaps/download_geospatial.md index 7604f3a..9fef157 100644 --- a/tests/testthat/_snaps/download_geospatial.md +++ b/tests/testthat/_snaps/download_geospatial.md @@ -4,9 +4,9 @@ download_geospatial(spatial_level = "department", simplified = TRUE, include_geom = TRUE, include_cnpv = FALSE) Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or @@ -51,9 +51,9 @@ download_geospatial(spatial_level = "dpto", simplified = TRUE, include_geom = FALSE, include_cnpv = TRUE) Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or diff --git a/tests/testthat/_snaps/download_population_projections.md b/tests/testthat/_snaps/download_population_projections.md index 8f368b3..c172b58 100644 --- a/tests/testthat/_snaps/download_population_projections.md +++ b/tests/testthat/_snaps/download_population_projections.md @@ -8,9 +8,9 @@ Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0. i Please use `all_of(var)` (or `any_of(var)`) instead of `.data[[var]]` Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or diff --git a/tests/testthat/_snaps/merge_geo_demographic.md b/tests/testthat/_snaps/merge_geo_demographic.md index fa937d6..b8b480a 100644 --- a/tests/testthat/_snaps/merge_geo_demographic.md +++ b/tests/testthat/_snaps/merge_geo_demographic.md @@ -3,9 +3,9 @@ Code merge_geo_demographic("DANE_CNPVH_2018_1HD") Message - ColOpenData provides open data derived from The National Administrative - Department of Statistics (DANE), and the Institute of Hydrology, - Meteorology and Environmental Studies (IDEAM)but with modifications for + ColOpenData provides open data derived from Departamento Administrativo + Nacional de Estadística (DANE), and Instituto de Hidrología, + Meteorología y Estudios Ambientales (IDEAM)but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or From 89277c18c2ac9a878a16af76a270d3279ea28fe0 Mon Sep 17 00:00:00 2001 From: macataci Date: Thu, 10 Oct 2024 14:49:21 -0500 Subject: [PATCH 10/12] updates regarding institutions names --- R/download_climate.R | 17 +++++++++-------- R/download_demographic.R | 17 +++++++++-------- R/download_geospatial.R | 17 +++++++++-------- README.Rmd | 7 +------ tests/testthat/_snaps/download_climate.md | 12 ++++++------ tests/testthat/_snaps/download_demographic.md | 4 ++-- tests/testthat/_snaps/download_geospatial.md | 8 ++++---- tests/testthat/_snaps/merge_geo_demographic.md | 4 ++-- vignettes/climate_data.Rmd | 2 +- vignettes/demographic_data.Rmd | 2 +- vignettes/documentation_and_dictionaries.Rmd | 6 +++--- vignettes/geospatial_data.Rmd | 2 +- 12 files changed, 48 insertions(+), 50 deletions(-) diff --git a/R/download_climate.R b/R/download_climate.R index 778c60b..098f53d 100644 --- a/R/download_climate.R +++ b/R/download_climate.R @@ -194,14 +194,15 @@ download_climate_stations <- function(stations, start_date, end_date, tag) { prefix = "\n", initial = "", c( "ColOpenData provides open data derived from Departamento Administrativo - Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología - y Estudios Ambientales (IDEAM)but with modifications for specific - functional needs. These changes may alter the structure, format, or - content, meaning the data does not reflect the official dataset. The - package is developed independently, with no endorsement or involvement - from these institutions or any Colombian government body. The authors of - ColOpenData are not liable for how users utilize the data, and users are - responsible for any outcomes from their use or analysis of the data.", + Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, + Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications + for specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. The + authors of ColOpenData are not liable for how users utilize the data, + and users areresponsible for any outcomes from their use or analysis of + the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_demographic.R b/R/download_demographic.R index 694b3e2..170f928 100644 --- a/R/download_demographic.R +++ b/R/download_demographic.R @@ -28,14 +28,15 @@ download_demographic <- function(dataset) { prefix = "\n", initial = "", c( "ColOpenData provides open data derived from Departamento Administrativo - Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología - y Estudios Ambientales (IDEAM)but with modifications for specific - functional needs. These changes may alter the structure, format, or - content, meaning the data does not reflect the official dataset. The - package is developed independently, with no endorsement or involvement - from these institutions or any Colombian government body. The authors of - ColOpenData are not liable for how users utilize the data, and users are - responsible for any outcomes from their use or analysis of the data.", + Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, + Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications + for specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. The + authors of ColOpenData are not liable for how users utilize the data, + and users areresponsible for any outcomes from their use or analysis of + the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/R/download_geospatial.R b/R/download_geospatial.R index 20ac773..dc246aa 100644 --- a/R/download_geospatial.R +++ b/R/download_geospatial.R @@ -71,14 +71,15 @@ download_geospatial <- function(spatial_level, simplified = TRUE, prefix = "\n", initial = "", c( "ColOpenData provides open data derived from Departamento Administrativo - Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología - y Estudios Ambientales (IDEAM)but with modifications for specific - functional needs. These changes may alter the structure, format, or - content, meaning the data does not reflect the official dataset. The - package is developed independently, with no endorsement or involvement - from these institutions or any Colombian government body. The authors of - ColOpenData are not liable for how users utilize the data, and users are - responsible for any outcomes from their use or analysis of the data.", + Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, + Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications + for specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. The + authors of ColOpenData are not liable for how users utilize the data, + and users areresponsible for any outcomes from their use or analysis of + the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) )) diff --git a/README.Rmd b/README.Rmd index 712db0b..3c6bd16 100644 --- a/README.Rmd +++ b/README.Rmd @@ -78,12 +78,7 @@ Similar R packages are offered for international communities, allowing the user ### Disclaimer -ColOpenData stores and distributes open data originally obtained from IDEAM and -DANE. It is important to note that the data retrieved from these sources has -been processed, transformed, and adapted to meet the functional requirements of -this package. These modifications may result in changes to the structure, -format, or content of the original data, and as such, the data provided by this -package does not represent the official datasets as maintained by IDEAM or DANE. +ColOpenData stores and distributes open data originally obtained from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, Meteorología y Estudios Ambientales (IDEAM). It is important to note that the data retrieved from these sources has been processed, transformed, and adapted to meet the functional requirements of this package. These modifications may result in changes to the structure, format, or content of the original data, and as such, the data provided by this package does not represent the official datasets as maintained by IDEAM or DANE. The development of this package is completely independent of these institutions, and neither IDEAM, DANE, nor any other Colombian government body endorses, sponsors, or is involved in the creation or maintenance of this package. diff --git a/tests/testthat/_snaps/download_climate.md b/tests/testthat/_snaps/download_climate.md index 18112ad..edac686 100644 --- a/tests/testthat/_snaps/download_climate.md +++ b/tests/testthat/_snaps/download_climate.md @@ -31,13 +31,13 @@ Message ColOpenData provides open data derived from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, - Meteorología y Estudios Ambientales (IDEAM)but with modifications for + Meteorología y Estudios Ambientales (IDEAM) but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the - data, and users are responsible for any outcomes from their use or + data, and users areresponsible for any outcomes from their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output @@ -121,13 +121,13 @@ Message ColOpenData provides open data derived from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, - Meteorología y Estudios Ambientales (IDEAM)but with modifications for + Meteorología y Estudios Ambientales (IDEAM) but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the - data, and users are responsible for any outcomes from their use or + data, and users areresponsible for any outcomes from their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output @@ -181,13 +181,13 @@ Message ColOpenData provides open data derived from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, - Meteorología y Estudios Ambientales (IDEAM)but with modifications for + Meteorología y Estudios Ambientales (IDEAM) but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the - data, and users are responsible for any outcomes from their use or + data, and users areresponsible for any outcomes from their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output diff --git a/tests/testthat/_snaps/download_demographic.md b/tests/testthat/_snaps/download_demographic.md index 32d42b3..8243914 100644 --- a/tests/testthat/_snaps/download_demographic.md +++ b/tests/testthat/_snaps/download_demographic.md @@ -5,13 +5,13 @@ Message ColOpenData provides open data derived from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, - Meteorología y Estudios Ambientales (IDEAM)but with modifications for + Meteorología y Estudios Ambientales (IDEAM) but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the - data, and users are responsible for any outcomes from their use or + data, and users areresponsible for any outcomes from their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output diff --git a/tests/testthat/_snaps/download_geospatial.md b/tests/testthat/_snaps/download_geospatial.md index 9fef157..5dc7cf6 100644 --- a/tests/testthat/_snaps/download_geospatial.md +++ b/tests/testthat/_snaps/download_geospatial.md @@ -6,13 +6,13 @@ Message ColOpenData provides open data derived from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, - Meteorología y Estudios Ambientales (IDEAM)but with modifications for + Meteorología y Estudios Ambientales (IDEAM) but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the - data, and users are responsible for any outcomes from their use or + data, and users areresponsible for any outcomes from their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output @@ -53,13 +53,13 @@ Message ColOpenData provides open data derived from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, - Meteorología y Estudios Ambientales (IDEAM)but with modifications for + Meteorología y Estudios Ambientales (IDEAM) but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the - data, and users are responsible for any outcomes from their use or + data, and users areresponsible for any outcomes from their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output diff --git a/tests/testthat/_snaps/merge_geo_demographic.md b/tests/testthat/_snaps/merge_geo_demographic.md index b8b480a..d8bdc6d 100644 --- a/tests/testthat/_snaps/merge_geo_demographic.md +++ b/tests/testthat/_snaps/merge_geo_demographic.md @@ -5,13 +5,13 @@ Message ColOpenData provides open data derived from Departamento Administrativo Nacional de Estadística (DANE), and Instituto de Hidrología, - Meteorología y Estudios Ambientales (IDEAM)but with modifications for + Meteorología y Estudios Ambientales (IDEAM) but with modifications for specific functional needs. These changes may alter the structure, format, or content, meaning the data does not reflect the official dataset. The package is developed independently, with no endorsement or involvement from these institutions or any Colombian government body. The authors of ColOpenData are not liable for how users utilize the - data, and users are responsible for any outcomes from their use or + data, and users areresponsible for any outcomes from their use or analysis of the data. Stored by Universidad de Los Andes under the Epiverse TRACE iniative. Output diff --git a/vignettes/climate_data.Rmd b/vignettes/climate_data.Rmd index 3eb280a..647e5bd 100644 --- a/vignettes/climate_data.Rmd +++ b/vignettes/climate_data.Rmd @@ -17,7 +17,7 @@ knitr::opts_chunk$set( ``` ::: {style="text-align: justify;"} -**ColOpenData** can be used to access open climate data from Colombia. This climate data is retrieved from the Institute of Hydrology, Meteorology and Environmental Studies (IDEAM). The climate module allows the user to consult climate data for any Region of Interest (ROI) inside the country and retrieve the information for each station contained inside. +**ColOpenData** can be used to access open climate data from Colombia. This climate data is retrieved from Instituto de Hidrología, Meteorología y Estudios Ambientales (IDEAM). The climate module allows the user to consult climate data for any Region of Interest (ROI) inside the country and retrieve the information for each station contained inside. The available information from IDEAM can be accessed using specific internal tags as follows: ::: diff --git a/vignettes/demographic_data.Rmd b/vignettes/demographic_data.Rmd index fe6652d..bb64972 100644 --- a/vignettes/demographic_data.Rmd +++ b/vignettes/demographic_data.Rmd @@ -17,7 +17,7 @@ knitr::opts_chunk$set( ``` ::: {style="text-align: justify;"} -**ColOpenData** can be used to access open demographic data from Colombia. This demographic data is retrieved from the National Administrative Department of Statistics (DANE). The demographic module allows you to consult demographic data from the National Population and Dwelling Census (CNPV) of 2018 and Population Projections. +**ColOpenData** can be used to access open demographic data from Colombia. This demographic data is retrieved from Departamento Administrativo Nacional de Estadística (DANE). The demographic module allows you to consult demographic data from the National Population and Dwelling Census (CNPV) of 2018 and Population Projections. The available CNPV information is divided in four categories: households, persons demographic, persons social and dwellings. The population projections information presents data from 1950 to 2070 for a national level, from 1985 to 2050 for a departmental level and from 1985 to 2035 for a municipal level. All data documentation can be accessed as explained at [Documentation and Dictionaries](https://epiverse-trace.github.io/ColOpenData/articles/documentation_and_dictionaries.html). diff --git a/vignettes/documentation_and_dictionaries.Rmd b/vignettes/documentation_and_dictionaries.Rmd index 4fd9040..70baeb2 100644 --- a/vignettes/documentation_and_dictionaries.Rmd +++ b/vignettes/documentation_and_dictionaries.Rmd @@ -36,7 +36,7 @@ Demographic datasets are available for municipalities and departments, and conta - Personas Social (Persons Social). - Personas Demográfico (Persons Demographic). -All datasets are retrieved from the National Administrative Department of Statistics (DANE). Naming is stated as follows: +All datasets are retrieved from Departamento Administrativo Nacional de Estadística (DANE). Naming is stated as follows: - Source: **DANE**. - Group: Names include the categories. @@ -62,7 +62,7 @@ Geospatial datasets naming is related to the level of aggregation, since they ar ## Understanding Climate Dataset ::: {style="text-align: justify;"} -This module's data is stored in an unique dataset, and the information required to use the related functions is the area of interest, dates, and tags be consulted. Individual tags are required to download data and include: +This module's data is retrieved from Instituto de Hidrología, Meteorología y Estudios Ambientales (IDEAM) and is stored in an unique dataset, and the information required to use the related functions is the area of interest, dates, and tags to be consulted. Individual tags are required to download data and include: ::: ```{r IDEAM table, echo = FALSE} @@ -97,7 +97,7 @@ These tags are meant to be used for download using `download_climate()`, `downlo ## Understanding Population Projections ::: {style="text-align: justify;"} -Population projections and back-projections are available for national, department and municipality levels, and divided by sex and ethnicity (the latter is only available for municipalities). The names of the datasets relate to the source, years included, sex and ethnicity. +Population projections and back-projections retrieved from DANE are available for national, department and municipality levels, and divided by sex and ethnicity (the latter is only available for municipalities). The names of the datasets relate to the source, years included, sex and ethnicity. For examples on how to consult the data please refer to [Population Projection with ColOpenData](https://epiverse-trace.github.io/ColOpenData/articles/population_projections.html) ::: diff --git a/vignettes/geospatial_data.Rmd b/vignettes/geospatial_data.Rmd index 67709dc..f597932 100644 --- a/vignettes/geospatial_data.Rmd +++ b/vignettes/geospatial_data.Rmd @@ -17,7 +17,7 @@ knitr::opts_chunk$set( ``` ::: {style="text-align: justify;"} -**ColOpenData** can be used to access open geospatial data from Colombia. This data is retrieved from the National Geostatistical Framework (MGN), published by the National Administrative Department of Statistics (DANE). The MGN contains the political-administrative division and is used to reference census statistical information. +**ColOpenData** can be used to access open geospatial data from Colombia. This data is retrieved from the National Geostatistical Framework (MGN), published by Departamento Administrativo Nacional de Estadística (DANE). The MGN contains the political-administrative division and is used to reference census statistical information. This package contains the 2018's version of the MGN, which also included a summarized version of the National Population and Dwelling Census (CNPV) in different aggregation levels. Each level is stored in a different dataset, which can be retrieved using the `download_geospatial()` function, which requires three arguments: From 4fb411c7b01a14059d653469bd6df453aafa26d2 Mon Sep 17 00:00:00 2001 From: macataci Date: Thu, 10 Oct 2024 14:49:39 -0500 Subject: [PATCH 11/12] commit with styler --- R/download_climate.R | 16 ++++++++-------- R/download_demographic.R | 16 ++++++++-------- R/download_geospatial.R | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/R/download_climate.R b/R/download_climate.R index 098f53d..3b1315d 100644 --- a/R/download_climate.R +++ b/R/download_climate.R @@ -194,14 +194,14 @@ download_climate_stations <- function(stations, start_date, end_date, tag) { prefix = "\n", initial = "", c( "ColOpenData provides open data derived from Departamento Administrativo - Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, - Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications - for specific functional needs. These changes may alter the structure, - format, or content, meaning the data does not reflect the official - dataset. The package is developed independently, with no endorsement or - involvement from these institutions or any Colombian government body. The - authors of ColOpenData are not liable for how users utilize the data, - and users areresponsible for any outcomes from their use or analysis of + Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, + Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications + for specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. The + authors of ColOpenData are not liable for how users utilize the data, + and users areresponsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) diff --git a/R/download_demographic.R b/R/download_demographic.R index 170f928..8a257e7 100644 --- a/R/download_demographic.R +++ b/R/download_demographic.R @@ -28,14 +28,14 @@ download_demographic <- function(dataset) { prefix = "\n", initial = "", c( "ColOpenData provides open data derived from Departamento Administrativo - Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, - Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications - for specific functional needs. These changes may alter the structure, - format, or content, meaning the data does not reflect the official - dataset. The package is developed independently, with no endorsement or - involvement from these institutions or any Colombian government body. The - authors of ColOpenData are not liable for how users utilize the data, - and users areresponsible for any outcomes from their use or analysis of + Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, + Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications + for specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. The + authors of ColOpenData are not liable for how users utilize the data, + and users areresponsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) diff --git a/R/download_geospatial.R b/R/download_geospatial.R index dc246aa..156eeff 100644 --- a/R/download_geospatial.R +++ b/R/download_geospatial.R @@ -71,14 +71,14 @@ download_geospatial <- function(spatial_level, simplified = TRUE, prefix = "\n", initial = "", c( "ColOpenData provides open data derived from Departamento Administrativo - Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, - Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications - for specific functional needs. These changes may alter the structure, - format, or content, meaning the data does not reflect the official - dataset. The package is developed independently, with no endorsement or - involvement from these institutions or any Colombian government body. The - authors of ColOpenData are not liable for how users utilize the data, - and users areresponsible for any outcomes from their use or analysis of + Nacional de Estad\u00edstica (DANE), and Instituto de Hidrolog\u00eda, + Meteorolog\u00eda y Estudios Ambientales (IDEAM) but with modifications + for specific functional needs. These changes may alter the structure, + format, or content, meaning the data does not reflect the official + dataset. The package is developed independently, with no endorsement or + involvement from these institutions or any Colombian government body. The + authors of ColOpenData are not liable for how users utilize the data, + and users areresponsible for any outcomes from their use or analysis of the data.", "Stored by Universidad de Los Andes under the Epiverse TRACE iniative." ) From 4f0c3555ac33be9045cf7c44767a297a067f7d51 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 10 Oct 2024 19:58:04 +0000 Subject: [PATCH 12/12] Automatic readme update --- README.md | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0e36124..ef5040b 100644 --- a/README.md +++ b/README.md @@ -99,23 +99,25 @@ the user to download census, geospatial and climate data. ### Disclaimer ColOpenData stores and distributes open data originally obtained from -IDEAM and DANE. It is important to note that the data retrieved from -these sources has been processed, transformed, and adapted to meet the -functional requirements of this package. These modifications may result -in changes to the structure, format, or content of the original data, -and as such, the data provided by this package does not represent the -official datasets as maintained by IDEAM or DANE. The development of -this package is completely independent of these institutions, and -neither IDEAM, DANE, nor any other Colombian government body endorses, -sponsors, or is involved in the creation or maintenance of this package. -Consequently, they bear no responsibility for the data as presented -within this package. Furthermore, the authors of the ColOpenData assume -no liability for any outcomes resulting from the use or misuse of the -data provided. The user is solely responsible for how they utilize the -data, and any conclusions drawn, analyses performed, or actions taken -based on this data are the user’s responsibility. This package and its -authors make no claims to represent or act on behalf of IDEAM, DANE, or -any other official entity. +Departamento Administrativo Nacional de Estadística (DANE), and +Instituto de Hidrología, Meteorología y Estudios Ambientales (IDEAM). It +is important to note that the data retrieved from these sources has been +processed, transformed, and adapted to meet the functional requirements +of this package. These modifications may result in changes to the +structure, format, or content of the original data, and as such, the +data provided by this package does not represent the official datasets +as maintained by IDEAM or DANE. The development of this package is +completely independent of these institutions, and neither IDEAM, DANE, +nor any other Colombian government body endorses, sponsors, or is +involved in the creation or maintenance of this package. Consequently, +they bear no responsibility for the data as presented within this +package. Furthermore, the authors of the ColOpenData assume no liability +for any outcomes resulting from the use or misuse of the data provided. +The user is solely responsible for how they utilize the data, and any +conclusions drawn, analyses performed, or actions taken based on this +data are the user’s responsibility. This package and its authors make no +claims to represent or act on behalf of IDEAM, DANE, or any other +official entity. ### Lifecycle