Challenge: Summarize and Report Findings
Tarefa
Swipe to start coding
You are preparing a data report for a company's regional sales. Use the provided sales_data dataset to create a clear summary table that highlights key statistics for each region.
- Calculate the total sales and average sales for each region.
- Organize your results in a summary table with columns:
region,total_sales, andaverage_sales. - Assign your summary table to a variable named
summary_sales_table. - Do not print or display the table; just create and assign it.
- Do not use the same code structure as shown in previous examples (avoid
summarise(mean_value = mean(value))). - Focus on clarity and concise presentation of the statistics.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 2
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 5.56
Challenge: Summarize and Report Findings
Deslize para mostrar o menu
Tarefa
Swipe to start coding
You are preparing a data report for a company's regional sales. Use the provided sales_data dataset to create a clear summary table that highlights key statistics for each region.
- Calculate the total sales and average sales for each region.
- Organize your results in a summary table with columns:
region,total_sales, andaverage_sales. - Assign your summary table to a variable named
summary_sales_table. - Do not print or display the table; just create and assign it.
- Do not use the same code structure as shown in previous examples (avoid
summarise(mean_value = mean(value))). - Focus on clarity and concise presentation of the statistics.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 2
single