Vous voici sur le Git Rural du CRAW

Commit 51c1035d authored by FrdVnW's avatar FrdVnW
Browse files

auto-updated survey-app-data

parent 6730a0fc
# Table of Contents
1. [The application for visualizing the data](#orgac48dd9)
1. [Installation and setup](#org55f990b)
2. [Usage](#orgb8836cc)
1. [Cleaning and loading libraries](#org28450f1)
2. [Importing data](#orgdbbb635)
3. [Launch the application](#org54ae347)
2. [The data base](#orgf0280ab)
1. [The meta-data](#org97d20ac)
2. [The classing of the data in order to determine their status](#org5ef60d5)
3. [The public data](#orgcceb752)
4. [The global data base](#org15bbad7)
5. [The to-be-confirmed data](#orgf711cdb)
3. [Hosting the application on a server](#org97b5190)
4. [Screencast : tutorial for the usage of the application](#org67a0be2)
5. [Licenses](#org5201bf6)
1. [Application and scripts : GPL-3](#org86f1734)
2. [Open data : cc-by](#orga50b705)
1. [The application for visualizing the data](#orgc471c94)
1. [Installation and setup](#org0c8cae0)
2. [Usage](#org2665fb7)
1. [Cleaning and loading libraries](#org8e2f8e3)
2. [Importing data](#org4b2100b)
3. [Launch the application](#org779b7ab)
2. [The data base](#org7565d46)
1. [The meta-data](#orgf16ceee)
2. [The classing of the data in order to determine their status](#org843c7d1)
3. [The public data](#org66f2ee0)
4. [The global data base](#orga69f5ca)
5. [The to-be-confirmed data](#org197a675)
3. [Hosting the application on a server](#orgc43b45c)
4. [Screencast : tutorial for the usage of the application](#org152d59d)
5. [Licenses](#org5f18a5e)
1. [Application and scripts : GPL-3](#orgc10dd13)
2. [Open data : cc-by](#orge10c8fd)
![img](./fig/logo-di.png)
......@@ -40,14 +40,14 @@ package is in development and accessible on [Gitlab](https://frdvnw.gitlab.io/su
We lead you through the installation and the configuration of your computer in the following sections.
<a id="orgac48dd9"></a>
<a id="orgc471c94"></a>
# The application for visualizing the data
In this section, you will find a tutorial for setting your computer up and using the application. All the `scripts` of this section are already present in the files you will download.
<a id="org55f990b"></a>
<a id="org0c8cae0"></a>
## Installation and setup
......@@ -88,7 +88,7 @@ You will need `devtools` in order to install the package, I propose a personal f
If you encounter some issues, [you can contact me here](mailto:f.vanwindekens@cra.wallonie.be).
<a id="orgb8836cc"></a>
<a id="org2665fb7"></a>
## Usage
......@@ -99,7 +99,7 @@ After your computer is set up, you can open the `'init.R'` file.
Source this file, or more safetely run line by line. The various steps are :
<a id="org28450f1"></a>
<a id="org8e2f8e3"></a>
### Cleaning and loading libraries
......@@ -117,7 +117,7 @@ Source this file, or more safetely run line by line. The various steps are :
library(RColorBrewer)
<a id="orgdbbb635"></a>
<a id="org4b2100b"></a>
### Importing data
......@@ -157,7 +157,7 @@ If you have other data files, there are two possibilities :
## load('./data-raw/di_variables_restricted.RData')
<a id="org54ae347"></a>
<a id="org779b7ab"></a>
### Launch the application
......@@ -168,14 +168,14 @@ You can launch the application with the following command.
surveyvisualizr()
<a id="orgf0280ab"></a>
<a id="org7565d46"></a>
# The data base
Public data are already present in the repository with the application and the scripts presented in the first section. In this section, you will have more information on the data base.
<a id="org97d20ac"></a>
<a id="orgf16ceee"></a>
## The meta-data
......@@ -197,18 +197,18 @@ For information, at the end of November 2018, there are **330** `'public'` varia
The meta data were also edited in a table that is reproduced at Appendix B of this deliverable.
<a id="org5ef60d5"></a>
<a id="org843c7d1"></a>
## The classing of the data in order to determine their status
So far, the data of the first survey have been classed in three categories according to their internal characteristics and human check up. The Figure [35](#org50e20b4) presents the main criteria that have been used.
So far, the data of the first survey have been classed in three categories according to their internal characteristics and human check up. The Figure [35](#org196c03f) presents the main criteria that have been used.
![img](schema.png "Process for determining the status of the variables. Check needed is constituted mainly by 'comments' variables or free text linked to questions.")
The classing of the variable is a continuous process that will aim to class the `'to be confirmed'` variables as `'public'` (mainly) or `'restricted'`.
<a id="orgcceb752"></a>
<a id="org66f2ee0"></a>
## The public data
......@@ -220,28 +220,28 @@ Lots of data collected during this survey are public (see here above). It is pub
The public data (open data) are also reproduced in the Appendix 3 of this deliverable, as tables. We used the `data_file-name` with more explicit answers.
<a id="org15bbad7"></a>
<a id="orga69f5ca"></a>
## The global data base
Some variables collected during the survey were considired as 'personal' data (names, ip adresses, emails, &#x2026;) and are therefore not part of this deliverable. These data were removed from the public data base in an anonymisation process. The full data base will not be shared outside of the DiverIMPACTS project.
<a id="orgf711cdb"></a>
<a id="org197a675"></a>
## The to-be-confirmed data
A part of the variable could contain come personal information. They presently are considered as restricted data. A reviewing by WP-leaders and project coordinators is plan in order to class these last variables as public or restricted.
<a id="org97b5190"></a>
<a id="orgc43b45c"></a>
# Hosting the application on a server
The application can be shared on server in order to facilitate its usage by a large public. First tries were made on the 'shinyapps.io' service and it is technically concluding. We are now evaluating the possibilities to have a secured and long term version of this kind of service. The link to the online application is : <https://craw.shinyapps.io/diverimpacts/>. We ask reader to use this link with parcimony as we have now a time-limited usage of this service.
<a id="org67a0be2"></a>
<a id="org152d59d"></a>
# Screencast : tutorial for the usage of the application
......@@ -259,14 +259,14 @@ Here are some other screenshots of the possibilities of the application :
![img](./fig/App8.png)
<a id="org5201bf6"></a>
<a id="org5f18a5e"></a>
# Licenses
Two kind of licenses are used in the framework of this deliverable :
<a id="org86f1734"></a>
<a id="orgc10dd13"></a>
## Application and scripts : GPL-3
......@@ -279,7 +279,7 @@ Two kind of licenses are used in the framework of this deliverable :
## License GPL-3
<a id="orga50b705"></a>
<a id="orge10c8fd"></a>
## Open data : cc-by
......
is.na(df.di$C44_other)
(df.di$C44_other)
which("C44_other" == names(df.di))
n
# Table of Contents
1. [The application for visualizing the data](#orgac48dd9)
1. [Installation and setup](#org55f990b)
2. [Usage](#orgb8836cc)
1. [Cleaning and loading libraries](#org28450f1)
2. [Importing data](#orgdbbb635)
3. [Launch the application](#org54ae347)
2. [The data base](#orgf0280ab)
1. [The meta-data](#org97d20ac)
2. [The classing of the data in order to determine their status](#org5ef60d5)
3. [The public data](#orgcceb752)
4. [The global data base](#org15bbad7)
5. [The to-be-confirmed data](#orgf711cdb)
3. [Hosting the application on a server](#org97b5190)
4. [Screencast : tutorial for the usage of the application](#org67a0be2)
5. [Licenses](#org5201bf6)
1. [Application and scripts : GPL-3](#org86f1734)
2. [Open data : cc-by](#orga50b705)
1. [The application for visualizing the data](#orgc471c94)
1. [Installation and setup](#org0c8cae0)
2. [Usage](#org2665fb7)
1. [Cleaning and loading libraries](#org8e2f8e3)
2. [Importing data](#org4b2100b)
3. [Launch the application](#org779b7ab)
2. [The data base](#org7565d46)
1. [The meta-data](#orgf16ceee)
2. [The classing of the data in order to determine their status](#org843c7d1)
3. [The public data](#org66f2ee0)
4. [The global data base](#orga69f5ca)
5. [The to-be-confirmed data](#org197a675)
3. [Hosting the application on a server](#orgc43b45c)
4. [Screencast : tutorial for the usage of the application](#org152d59d)
5. [Licenses](#org5f18a5e)
1. [Application and scripts : GPL-3](#orgc10dd13)
2. [Open data : cc-by](#orge10c8fd)
![img](./fig/logo-di.png)
......@@ -40,14 +40,14 @@ package is in development and accessible on [Gitlab](https://frdvnw.gitlab.io/su
We lead you through the installation and the configuration of your computer in the following sections.
<a id="orgac48dd9"></a>
<a id="orgc471c94"></a>
# The application for visualizing the data
In this section, you will find a tutorial for setting your computer up and using the application. All the `scripts` of this section are already present in the files you will download.
<a id="org55f990b"></a>
<a id="org0c8cae0"></a>
## Installation and setup
......@@ -88,7 +88,7 @@ You will need `devtools` in order to install the package, I propose a personal f
If you encounter some issues, [you can contact me here](mailto:f.vanwindekens@cra.wallonie.be).
<a id="orgb8836cc"></a>
<a id="org2665fb7"></a>
## Usage
......@@ -99,7 +99,7 @@ After your computer is set up, you can open the `'init.R'` file.
Source this file, or more safetely run line by line. The various steps are :
<a id="org28450f1"></a>
<a id="org8e2f8e3"></a>
### Cleaning and loading libraries
......@@ -117,7 +117,7 @@ Source this file, or more safetely run line by line. The various steps are :
library(RColorBrewer)
<a id="orgdbbb635"></a>
<a id="org4b2100b"></a>
### Importing data
......@@ -157,7 +157,7 @@ If you have other data files, there are two possibilities :
## load('./data-raw/di_variables_restricted.RData')
<a id="org54ae347"></a>
<a id="org779b7ab"></a>
### Launch the application
......@@ -168,14 +168,14 @@ You can launch the application with the following command.
surveyvisualizr()
<a id="orgf0280ab"></a>
<a id="org7565d46"></a>
# The data base
Public data are already present in the repository with the application and the scripts presented in the first section. In this section, you will have more information on the data base.
<a id="org97d20ac"></a>
<a id="orgf16ceee"></a>
## The meta-data
......@@ -197,18 +197,18 @@ For information, at the end of November 2018, there are **330** `'public'` varia
The meta data were also edited in a table that is reproduced at Appendix B of this deliverable.
<a id="org5ef60d5"></a>
<a id="org843c7d1"></a>
## The classing of the data in order to determine their status
So far, the data of the first survey have been classed in three categories according to their internal characteristics and human check up. The Figure [35](#org50e20b4) presents the main criteria that have been used.
So far, the data of the first survey have been classed in three categories according to their internal characteristics and human check up. The Figure [35](#org196c03f) presents the main criteria that have been used.
![img](schema.png "Process for determining the status of the variables. Check needed is constituted mainly by 'comments' variables or free text linked to questions.")
The classing of the variable is a continuous process that will aim to class the `'to be confirmed'` variables as `'public'` (mainly) or `'restricted'`.
<a id="orgcceb752"></a>
<a id="org66f2ee0"></a>
## The public data
......@@ -220,28 +220,28 @@ Lots of data collected during this survey are public (see here above). It is pub
The public data (open data) are also reproduced in the Appendix 3 of this deliverable, as tables. We used the `data_file-name` with more explicit answers.
<a id="org15bbad7"></a>
<a id="orga69f5ca"></a>
## The global data base
Some variables collected during the survey were considired as 'personal' data (names, ip adresses, emails, &#x2026;) and are therefore not part of this deliverable. These data were removed from the public data base in an anonymisation process. The full data base will not be shared outside of the DiverIMPACTS project.
<a id="orgf711cdb"></a>
<a id="org197a675"></a>
## The to-be-confirmed data
A part of the variable could contain come personal information. They presently are considered as restricted data. A reviewing by WP-leaders and project coordinators is plan in order to class these last variables as public or restricted.
<a id="org97b5190"></a>
<a id="orgc43b45c"></a>
# Hosting the application on a server
The application can be shared on server in order to facilitate its usage by a large public. First tries were made on the 'shinyapps.io' service and it is technically concluding. We are now evaluating the possibilities to have a secured and long term version of this kind of service. The link to the online application is : <https://craw.shinyapps.io/diverimpacts/>. We ask reader to use this link with parcimony as we have now a time-limited usage of this service.
<a id="org67a0be2"></a>
<a id="org152d59d"></a>
# Screencast : tutorial for the usage of the application
......@@ -259,14 +259,14 @@ Here are some other screenshots of the possibilities of the application :
![img](./fig/App8.png)
<a id="org5201bf6"></a>
<a id="org5f18a5e"></a>
# Licenses
Two kind of licenses are used in the framework of this deliverable :
<a id="org86f1734"></a>
<a id="orgc10dd13"></a>
## Application and scripts : GPL-3
......@@ -279,7 +279,7 @@ Two kind of licenses are used in the framework of this deliverable :
## License GPL-3
<a id="orga50b705"></a>
<a id="orge10c8fd"></a>
## Open data : cc-by
......
......@@ -73,7 +73,7 @@ if (!file.exists('./R/load-di.R')) {
## and run :
##
source('R/load-di.R')
load.di()
## load.di()
## B (easier) - You have a '*.RData' file
##
......@@ -86,7 +86,7 @@ load.di()
## your working directory. Run one of the
## following command, depending of your file :
##
## load('./data-raw/di_variables_public.RData')
load('./data-raw/di_variables_public.RData')
## load('./data-raw/di_variables_tbc.RData')
## load('./data-raw/di_variables_restricted.RData')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment