Table 1
The same data as in the XML code example above, but mapped to data-frames according to the generic RWebData mapping procedure. While (a) contains data describing the firm (the main observational unit) itself, (b) and (c) contain the observations and variables describing the observation types employee and shareholder, respectively.
| firmName | firmID | |
|---|---|---|
| 1 | MicroCapital Ltd | 123 |
| (a) Firm type | ||
| firstName | secondName | |
| 1 | John | Smith |
| 2 | Peter | Pan |
| (b) [Employee type] | ||
| ID | Name | |
| 1 | S1 | Karl Marx |
| 2 | S2 | Bill Gates |
| (c) [Shareholder type] | ||

Figure 1
Basic architecture of the RWebData package.

Figure 2
Plot of the time series on United States’ public debt extracted from the World Bank Indicators API.

Figure 3
Reingold-Tilford tree-graph illustrating the nested structure of the raw JSON data from the Open States API.
