Blog Archives

Shiny App to access NOAA data

February 21, 2019
By
Shiny App to access NOAA data

Now that the US Government shutdown is over, it is time to download NOAA weather daily summaries in bulk and store them somewhere safe so that at the next shutdown we do not need to worry.Below is the code to download data for a series of years:NOAA_Bu...

Read more »

Shiny App to access NOAA data

February 21, 2019
By
Shiny App to access NOAA data

Now that the US Government shutdown is over, it is time to download NOAA weather daily summaries in bulk and store them somewhere safe so that at the next shutdown we do not need to worry.Below is the code to download data for a series of years:NOAA_Bu...

Read more »

Weather Forecast from MET Office

February 16, 2019
By

This is another function I wrote to access the MET office API and obtain a 5-day ahead weather forecast:METDataDownload

Read more »

Geocoding function

February 16, 2019
By

This is a very simple function to perform geocoding using the Google Maps API: getGeoCode

Read more »

Spreadsheet Data Manipulation in R

June 15, 2018
By

Today I decided to create a new repository on GitHub where I am sharing code to do spreadsheet data manipulation in R.The first version of the repository and R script is available here: SpreadsheetManipulation_inRAs an example I am using a csv fre...

Read more »

Data Visualization Website with Shiny

March 25, 2018
By
Data Visualization Website with Shiny

My second Shiny app is dedicated to data visualization.Here users can simply upload any csv or txt file and create several plots:Histograms (with option for faceting) Barchart (with error bars, and option for color with dodging and faceting) BoxPlots (with option for faceting) Scatterplots (with options for color, size and faceting) TimeSeries Error bars in barcharts are computed with the mean_se function in ggplot2,...

Read more »

Street Crime UK – Shiny App

March 11, 2018
By
Street Crime UK – Shiny App

Introduction This is a shiny app to visualize heat maps of Street Crimes across Britain from 2010-12 to 2018-01 and test their spatial pattern. The code for both ui.R and server.R is available from my GitHub at: https://github.com/fveronesi/StreetCrimeUK_Shiny Usage Please be aware that this apps downloads data from my personal Dropbox once it starts and every time the user changes some of the settings....

Read more »

Experiment designs for Agriculture

July 25, 2017
By

This post is more for personal use than anything else. It is just a collection of code and functions to produce some of the most used experimental designs in agriculture and animal science.  I will not go into details about these designs. If you want to know more about what to use in which situation you can find material at...

Read more »

Power analysis and sample size calculation for Agriculture

July 21, 2017
By
Power analysis and sample size calculation for Agriculture

Power analysis is extremely important in statistics since it allows us to calculate how many chances we have of obtaining realistic results. Sometimes researchers tend to underestimate this aspect and they are just interested in obtaining significant p-values. The problem with this is that a significance level of 0.05 does not necessarily mean that what you are observing is...

Read more »

Generalized Additive Models and Mixed-Effects in Agriculture

July 15, 2017
By
Generalized Additive Models and Mixed-Effects in Agriculture

IntroductionIn the previous post I explored the use of linear model in the forms most commonly used in agricultural research.Clearly, when we are talking about linear models we are implicitly assuming that all relations between the dependent variable y and the predictors x are linear. In fact, in a linear model we could specify different shapes for the relation...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)