A database of charged cosmic rays