Warning: One or more parsing issues, call `problems()` on your data frame for details,
e.g.:
dat <- vroom(...)
problems(dat)
Rows: 140 Columns: 6
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (5): Country, Country_label, INDUSTRY, STAGE, Sum_of_deals
num (1): Year
ℹ 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.
Rows: 140
Columns: 6
$ Country <chr> "ALL", "ALL", "ALL", "ALL", "ALL", "ALL", "ALL", "ALL", …
$ Country_label <chr> "-- All countries --", "-- All countries --", "-- All co…
$ INDUSTRY <chr> "Other", "Other", "Other", "Other", "Other", "Other", "O…
$ STAGE <chr> "VC", "VC", "VC", "VC", "VC", "VC", "VC", "VC", "VC", "V…
$ Sum_of_deals <chr> "946.7111605", "1396.019576", "2238.991074", "3855.41406…
$ Year <dbl> 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 20…
Identify issues for cleaning
Main problem:
Inconsistent column number
In the dataset, some rows in the industry column contain one value, while others are split into two columns.
This happens because certain INDUSTRY values contain commas but are not enclosed in quotation marks, causing R to interpret them as two separate fields.
To fix this, the comma-containing entries in the INDUSTRY column must be manually enclosed in quotes.