-
Notifications
You must be signed in to change notification settings - Fork 0
downloads data but gets columns wrong #6
Comments
This looks tricky. Basically |
Yes, that particular file is quite strange. Every second row is blank and the download process has to try it multiply. Also
The comma after |
Perhaps the best we can do is gracefully error in cases like this, with a prayer to the end-user wishing the best of luck manually parsing it. |
This happens quite often (unsurprisingly) when the data are in Excel format. For example: library(datagovau)
library(dplyr)
#----------------------business income------------------------
# an example of a dataset that doesn't import well - probably because it is in Excel
income_md <- search_data("name:income", limit = 1000)
business <- income_md %>%
filter(name == "Business income by entity, state, industry and size for 2013-14 income year") %>%
get_data()
business
#----------------------queensland and australian income----
qld <- income_md %>%
filter(name == "Income of Qld and Aust 1999-2000 to 2013-14") %>%
get_data()
qld
|
for example - mixes in id and date; cause and location - doesn't understand separate columns:
The text was updated successfully, but these errors were encountered: