Suggested citation:

Mendez, C., Siew, S., Chan, R., and Tang, D. (2020). Productivity differences in the ASEAN community: An interactive and automated exploration in R. R Studio/RPubs. Available at https://rpubs.com/quarcs-lab/data-productivity-asean-1972-2017

This work is licensed under the Creative Commons Attribution-Share Alike 4.0 International License.

1 Original data source

Sample data:

2 Data transformations

2.1 Generate cross-sectional id

2.4 Descriptive statistics

3 Definitions of variables

4 Interactive Table

  • Remove the panel data setting
  • Select and order variables

6 References

END

LS0tCnRpdGxlOiAiUHJvZHVjdGl2aXR5IGRpZmZlcmVuY2VzIGluIHRoZSBBU0VBTiBjb21tdW5pdHkgMTk3Mi0yMDE3OiAiCnN1YnRpdGxlOiAiQW4gaW50ZXJhY3RpdmUgYW5kIGF1dG9tYXRlZCBleHBsb3JhdGlvbiBpbiBSIgphdXRob3I6ICJDYXJsb3MgTWVuZGV6LCBTb29rIFlhbiBTaWV3LCBSZW4gQ2hhbiwgYW5kIERvbWluaWMgVGFuZyIKb3V0cHV0OiAKICBodG1sX25vdGVib29rOgogICAgdG9jOiB0cnVlCiAgICB0b2NfZmxvYXQ6CiAgICAgIGNvbGxhcHNlZDogZmFsc2UKICAgICAgc21vb3RoX3Njcm9sbDogZmFsc2UKICAgIHRvY19kZXB0aDogNAogICAgbnVtYmVyX3NlY3Rpb25zOiB0cnVlCiAgICBjb2RlX2ZvbGRpbmc6ICJzaG93IgogICAgdGhlbWU6ICJjb3NtbyIKICAgIGhpZ2hsaWdodDogIm1vbm9jaHJvbWUiCiAgICBkZl9wcmludDogcGFnZWQKICBnaXRodWJfZG9jdW1lbnQ6IGRlZmF1bHQKLS0tCgo8c3R5bGU+CmgxLnRpdGxlIHtmb250LXNpemU6IDE4cHQ7IGNvbG9yOiBEYXJrQmx1ZTt9IApib2R5LCBoMSwgaDIsIGgzLCBoNCB7Zm9udC1mYW1pbHk6ICJQYWxhdGlubyIsIHNlcmlmO30KYm9keSB7Zm9udC1zaXplOiAxMnB0O30KLyogSGVhZGVycyAqLwpoMSxoM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