Manually Load pixarfilms Data

Overview

This vignette here demonstrates how to manually load data without using the {pixarfilms} package if you wish to explore and analyze this data elsewhere.

Loading within R

If for some reason, you don’t wish to install the package officially, you can also access the data by reading the data directly from GitHub using {readr}.

library(readr)

url <- "https://raw.githubusercontent.com/erictleung/pixarfilms/main/data-raw/pixar_films.csv"
pixar_films <- read_csv(url)
#> Rows: 27 Columns: 5
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr  (2): film, film_rating
#> dbl  (2): number, run_time
#> date (1): release_date
#> 
#> ℹ Use `spec()` to retrieve the full column specification for this data.
#> ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.

Loading within Python and pandas

Similarly, you can read the data directly

import pandas as pd

url = "https://raw.githubusercontent.com/erictleung/pixarfilms/main/data-raw/pixar_films.csv"
pixar_films = pd.read_csv(url)