This vignette is to recreate an analysis on Pixar ratings that can be found here.
library(pixarfilms)
#>
#> Attaching package: 'pixarfilms'
#> The following object is masked _by_ '.GlobalEnv':
#>
#> pixar_films
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
library(ggplot2)
library(lubridate)
#>
#> Attaching package: 'lubridate'
#> The following objects are masked from 'package:base':
#>
#> date, intersect, setdiff, union
library(patchwork)
pixar_films %>%
left_join(public_response) %>%
left_join(academy) # %>%
#> Joining with `by = join_by(film)`
#> Joining with `by = join_by(film)`
#> # A tibble: 84 × 11
#> number film release_date run_time film_rating rotten_tomatoes metacritic
#> <dbl> <chr> <date> <dbl> <chr> <dbl> <dbl>
#> 1 1 Toy Story 1995-11-22 81 G 100 95
#> 2 1 Toy Story 1995-11-22 81 G 100 95
#> 3 1 Toy Story 1995-11-22 81 G 100 95
#> 4 1 Toy Story 1995-11-22 81 G 100 95
#> 5 1 Toy Story 1995-11-22 81 G 100 95
#> 6 1 Toy Story 1995-11-22 81 G 100 95
#> 7 2 A Bug's … 1998-11-25 95 G 92 77
#> 8 2 A Bug's … 1998-11-25 95 G 92 77
#> 9 2 A Bug's … 1998-11-25 95 G 92 77
#> 10 3 Toy Stor… 1999-11-24 92 G 100 88
#> # ℹ 74 more rows
#> # ℹ 4 more variables: cinema_score <chr>, critics_choice <dbl>,
#> # award_type <chr>, status <chr>
# mutate(year = year(release_date)
# # best = case_when(
#
# )) %>%
# ggplot(aes(x = ))
sessionInfo()
#> R version 4.4.1 (2024-06-14)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 24.04 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
#> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=C
#> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: Etc/UTC
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] patchwork_1.2.0 lubridate_1.9.3 ggplot2_3.5.1 dplyr_1.1.4
#> [5] pixarfilms_0.2.1 readr_2.1.5 rmarkdown_2.28
#>
#> loaded via a namespace (and not attached):
#> [1] sass_0.4.9 utf8_1.2.4 generics_0.1.3 hms_1.1.3
#> [5] digest_0.6.37 magrittr_2.0.3 evaluate_0.24.0 grid_4.4.1
#> [9] timechange_0.3.0 fastmap_1.2.0 jsonlite_1.8.8 fansi_1.0.6
#> [13] scales_1.3.0 jquerylib_0.1.4 cli_3.6.3 rlang_1.1.4
#> [17] crayon_1.5.3 bit64_4.0.5 munsell_0.5.1 withr_3.0.1
#> [21] cachem_1.1.0 yaml_2.3.10 tools_4.4.1 parallel_4.4.1
#> [25] tzdb_0.4.0 colorspace_2.1-1 curl_5.2.1 buildtools_1.0.0
#> [29] vctrs_0.6.5 R6_2.5.1 lifecycle_1.0.4 bit_4.0.5
#> [33] vroom_1.6.5 pkgconfig_2.0.3 pillar_1.9.0 bslib_0.8.0
#> [37] gtable_0.3.5 glue_1.7.0 xfun_0.47 tibble_3.2.1
#> [41] tidyselect_1.2.1 sys_3.4.2 knitr_1.48 htmltools_0.5.8.1
#> [45] maketools_1.3.0 compiler_4.4.1