= Project statistics data =
Projects export statistics data in XML-format files.
Most projects regenerate the files every 24 hours.
These files are contained in a directory DOWNLOAD_URL/stats/.
For most projects, DOWNLOAD_URL is the project's master URL.
However, some projects (notably IBM WCG) put them elsewhere;
in these cases, the URL is given by the `web_rpc_url_base` element returned by the project's
[WebRpc#get_project_config get_project_config.php] web RPC.
The download directory contains the following files:
'''tables.xml'''::
This gives the total number of teams, users, and hosts.
It also includes the UNIX time when the files were last generated,
a list of the project's applications,
and the list of [BadgeDoc badges] defined by the project.
For example:
{{{
1046220857
[ ]
127
14
681
1234.234
setiathome
100
1000
10000
...
10
user_pct_2
Top 25% in average credit
img/pct_25.png
...
}}}
'''host.gz'''::
List of hosts
'''team.gz'''::
List of teams
'''user.gz'''::
List of users
'''badge_user.gz''':: list of user badge assignments
'''badge_team.gz''':: list of team badge assignments
If the '''''' flag is present in tables.xml, there will also be
'''user_work.gz''':: user credit, broken down by app
'''team_work.gz''':: team credit, broken down by app
The format of the various XML elements in the output files is as follows.
Notes:
* `` ('cross-project identifier') is a unique identifier across multiple projects.
Accounts with the same email address on different projects will have the same cross-project identifier
(as long as at least one computer is attached to both accounts).
* All 'expavg_credit' values were computed at some point in the past (given by 'expavg_time').
To compute their current values, they must be scaled according to the
[CreditStats#rac-decay RAC decay formula].
* Text fields may contain XML entities.
If you aren't using a real XML parser, you need to decode the entities yourself.
'''Team summary'''
{{{
2
1
DistributedComputing@PÅock
9
52263.564346
0.120263
1218301227.351580
Piotr Zalewski
1094061560
[ www.example.com ]
[ <b>DistributedComputing@PÅock</b> ]
[ We are crunching...
to make LHC better :) ]
[ Poland ]
}}}
'''User summary'''
{{{
12
John Keck
Uganda
1178797286
42698.813543
117348.653646
1087542007.701900
283472938743489759837498347
[ ww.boinc.us ]
[ 5 ]
[ ]
}}}
'''Host summary '''
{{{
102
3
0.000000
0.000000
1087542007.701900
GenuineIntel
Pentium
Windows XP
5.1
[CUDA|GeForce 9500 GT|1|256MB]
1040170006
1217799877
28800
2
45724737.082762
43233895.373973
4032258.064516
670478336.000000
1000000.000000
1638260736.000000
9088008192.000000
3788505088.000000
24109.794088
57037.049858
465609.562145
0.000526
e129b5fa44ed8ba58e41c472822f2807
}}}