Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Exploration Lettre Eolien PV Trim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DREAL Pays de la Loire
Centre de Services de la Donnée
Exploration Lettre Eolien PV Trim
Commits
5a8cc5b5
Commit
5a8cc5b5
authored
2 years ago
by
Franck.Gaspard
Committed by
Juliette Engelaere-Lefebvre
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Début implémentation bouton maj des données
parent
124219ab
No related branches found
No related tags found
1 merge request
!2
Début implémentation bouton maj des données
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
global.R
+0
-2
0 additions, 2 deletions
global.R
prepa_eolien.R
+219
-171
219 additions, 171 deletions
prepa_eolien.R
server.R
+192
-115
192 additions, 115 deletions
server.R
ui.R
+18
-17
18 additions, 17 deletions
ui.R
with
431 additions
and
305 deletions
.gitignore
+
2
−
0
View file @
5a8cc5b5
...
...
@@ -3,3 +3,5 @@
.Rhistory
**.RData
.Ruserdata
design*
rsconnect
This diff is collapsed.
Click to expand it.
global.R
+
0
−
2
View file @
5a8cc5b5
...
...
@@ -14,6 +14,4 @@ library(hrbrthemes)
library
(
plotly
)
library
(
shinyWidgets
)
# source('prepa_eolien.R')
load
(
"eolien_pv_trim_shiny.RData"
)
This diff is collapsed.
Click to expand it.
prepa_eolien.R
+
219
−
171
View file @
5a8cc5b5
This diff is collapsed.
Click to expand it.
server.R
+
192
−
115
View file @
5a8cc5b5
This diff is collapsed.
Click to expand it.
ui.R
+
18
−
17
View file @
5a8cc5b5
...
...
@@ -4,12 +4,14 @@ sidebarLayout(
width
=
2
,
selectInput
(
inputId
=
"select_trim"
,
label
=
"selectionner un trimestre"
,
choices
=
quarter
(
ymd
(
seq.Date
(
as.Date
(
"2015-01-01"
),
Sys.Date
()
-90
,
by
=
"quarter"
)),
type
=
"year.quarter"
),
choices
=
quarter
(
ymd
(
seq.Date
(
as.Date
(
"2015-01-01"
),
Sys.Date
()
-90
,
by
=
"quarter"
)),
type
=
"year.quarter"
),
selected
=
quarter
(
ymd
(
Sys.Date
()
-90
),
type
=
"year.quarter"
)
),
# shinyWidgets::switchInput(inputId = "source",
# label = "actualiser les données",
# value = FALSE)
actionButton
(
inputId
=
"source"
,
label
=
"Mettre \u00e0 jour les donn\u00e9es"
),
),
mainPanel
(
fluidPage
(
...
...
@@ -40,7 +42,7 @@ sidebarLayout(
tags
$
br
(),
fluidPage
(
tags
$
h2
(
textOutput
(
"trimestre_onglet"
)),
checkboxInput
(
"stock_flux"
,
"Limiter les donn
é
es au seul flux du trimestre"
,
value
=
FALSE
,
width
=
NULL
),
checkboxInput
(
"stock_flux"
,
"Limiter les donn
\u00e9
es au seul flux du trimestre"
,
value
=
FALSE
,
width
=
NULL
),
tabBox
(
type
=
"tabs"
,
width
=
12
,
height
=
1000
,
...
...
@@ -50,20 +52,19 @@ sidebarLayout(
DT
::
DTOutput
(
"liste_parc_instruction"
)
),
box
(
width
=
6
,
tags
$
h4
(
"carte des parcs et m
â
ts en instruction"
),
tags
$
h4
(
"carte des parcs et m
\u00e2
ts en instruction"
),
mapviewOutput
(
outputId
=
"map_parc_instruction"
)
)
),
tabPanel
(
title
=
"Parcs autoris
é
s"
,
tabPanel
(
title
=
"Parcs autoris
\u00e9
s"
,
box
(
width
=
6
,
tags
$
h4
(
"liste des parcs autoris
é
s"
),
tags
$
h4
(
"liste des parcs autoris
\u00e9
s"
),
DT
::
DTOutput
(
"liste_parc_autorise"
)
),
box
(
width
=
6
,
tags
$
h4
(
"carte des parcs et mâts autorisés"
),
mapviewOutput
(
outputId
=
"map_parc_autorise"
)
)
box
(
width
=
6
,
tags
$
h4
(
"carte des parcs et m\u00e2ts autoris\u00e9s"
),
mapviewOutput
(
outputId
=
"map_parc_autorise"
)
)
),
tabPanel
(
title
=
"Parcs mis en service"
,
box
(
width
=
6
,
...
...
@@ -71,17 +72,17 @@ sidebarLayout(
DT
::
DTOutput
(
"liste_parc_construits"
)
),
box
(
width
=
6
,
tags
$
h4
(
"carte des parcs et m
â
ts mis en service"
),
tags
$
h4
(
"carte des parcs et m
\u00e2
ts mis en service"
),
mapviewOutput
(
outputId
=
"map_parc_construits"
)
)
),
tabPanel
(
title
=
"Parcs refus
é
s"
,
tabPanel
(
title
=
"Parcs refus
\u00e9
s"
,
box
(
width
=
6
,
tags
$
h4
(
"liste des parcs refus
é
s"
),
tags
$
h4
(
"liste des parcs refus
\u00e9
s"
),
DT
::
DTOutput
(
"liste_parc_refuses"
)
),
box
(
width
=
6
,
tags
$
h4
(
"carte des parcs et m
â
ts refus
é
s"
),
tags
$
h4
(
"carte des parcs et m
\u00e2
ts refus
\u00e9
s"
),
mapviewOutput
(
outputId
=
"map_parc_refuses"
)
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment