The basic R-language
What is mutate, filter, select, arrange, summarise and group by?
Integers
Doubles
Text?
Whole number?
Decimal numbers?
More animal rescues after covid years
What is the result of people getting more animals during the covid-years because people didn't know the responsibilities of having animals when life was normal again?
Color choice
What is appealing colors for children?
Important when making a value box
:::
:::
Arrange and count
How do you sort out your rows in your dataset (and make it descending) and count how many rows presenting in each category?
The different codes to rename and what they are doing.
What is rename that changes the columns names (Age = age)? - new name in front.
What is stringer::str_to_title? - makes the first letter in each word capital letter.
What is to_upper/to_lower? - makes the text capital or small letters.
What is janitor::clean_names? - cleans column names to make it easier to work with.
What is a town or district that is an administrative unit (bydel)?
Beeswarm
What is all individual observations, more informative in box plot and easy to see the distribution?
What is management decisions, seasonal analysis in reproduction and documentation to farm reports.
What chooses variables (columns) you want to keep, remove or reorder vs chooses rows based on conditions fx. a specific species or length that you want to work with or not?
What is filter(originalof_call %in% c("landline", "mobile")) |> ?
Left_join is used for
What keeps all rows from avg_age and keeps the information about the oldest lemur in each group that is found in slice_max?
The stacked barchart shows
What is birth month from jan-dec (x) and number of calves (y) and size categories in colors?
Summarise and group_by
How do you create one row pr group so it is easy to calculate mean, sum, median or count? How to group one species by using group_by? Not group gives the result of fx the mean for the whole column?
The random variable where I have measured something and it has a zero.
The random variable where I have a species.
The random variable where I fx. have a temperature.
The random variable where I how yes or no.
The random variable where I have a scale from fx. 1-10 in pain.
What is continuous ratio scale?
What is discrete nominal?
What is continuous interval scale?
What is binary?
What is discrete ordinal?
Change Unknown Domesticated Animal
What is mutate(animal_group_parent = case_when(animal_group_parent == "Unknown - Domestic animal or Pet ~ Domestic animal or pet, TRUE ~ animal_group_parent)?
Latin_name are removed
What is selecting all the columns but the one with the latin_name?
.groups = "drop")
Mutate
What creates new variables or transforms existing ones while keeping all rows in the dataset?
ggplots makes the graphs.
Geoms specify how the grafical shape are displaying your data.
Is used for scatterplots. Shows relationships between two numerical variables. Good for visualizing and identifying outliers.
Creates bar charts where the height represents the number of observations in each category. By default it uses stat = "count", meaning it counts the observations automatically.
Similar to you provide the height (y) by yourself, by summarizing your data.
Shows the distribution of a numerical variable. The data is divided into bins and the height shows how many observations fall into each bin.
Draws lines connecting points in order.
Shows distribution and spread: median, quartiles and outlines. Useful for comparing groups.
What is geom_point?
What is geom_bar?
What is geom_col?
What is geom_histogram?
What is geom_line?
What is geom_boxplot?
Join_by is helping left_join
What is by telling what rows needs to be matched between two tables.
Important when making a drop-down menu
What is a R-chunk (server) by shiny with parameters after the input and output code?