r-rudra / tidycells

Automatic transformation of untidy spreadsheet-like data into tidy form
https://r-rudra.github.io/tidycells/
Other
83 stars 10 forks source link

Create Example Data on which read_cells works (as expected) #5

Open bedantaguru opened 4 years ago

bedantaguru commented 4 years ago

The algorithm currently working on certain types of data. Definitely, It is yet not rendering the expected output on several well-known data. Add support for those.

As of now supported. (CRAN V0.2.1)

bedantaguru commented 4 years ago

Add example given in https://github.com/nacnudus/unpivotr/issues/31 also mentioned here

However, it will never be possible to directly support this type of data. Rather create/try the ways to solve it.

bedantaguru commented 4 years ago

https://github.com/ianmoran11/tidyABS#example-3-consumer-price-index-time-series seems supported.

bedantaguru commented 4 years ago

Many economic indicators in ABS has been migrated to SDMX ready structures. Example : https://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/5206.0Sep%202019?OpenDocument

However, there are many tables having similar types as given in {tidyABS}. Example : https://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/6224.0.55.001June%202019?OpenDocument

bedantaguru commented 4 years ago

Just checked

unpivotr\inst\extdata\worked-examples.xlsx@pivot-centre-aligned:G8 --> the cell can not be mapped correctly. This is because line separator plays a major role here. Maybe some method need to deploy to tweak the automatic understanding.

bedantaguru commented 4 years ago

Following is similar to ABS datasets.

unpivotr\inst\extdata\worked-examples.xlsx@pivot-hierarchy

bedantaguru commented 4 years ago

These [somehow] works However, may need to place heuristic for uniform block patterns. unpivotr\inst\extdata\worked-examples.xlsx@

These are not working properly