epiforecasts / covidregionaldata

An interface to subnational and national level COVID-19 data. For all countries supported, this includes a daily time-series of cases. Wherever available we also provide data on deaths, hospitalisations, and tests. National level data is also supported using a range of data sources as well as linelist data and links to intervention data sets.
https://epiforecasts.io/covidregionaldata/
Other
37 stars 18 forks source link

Could there be a field giving a short attribution text for each data source? #375

Closed RichardMN closed 3 years ago

RichardMN commented 3 years ago

We are careful to give a link to source data in the documentation for each class.

Could we add a public field which would give a short plain text attribution credit for each data source?

My use case would be in something like my covidregionaldatagraphs project where I programmatically generate a set of graphs for each of our regional data sources. It would be handy if the caption on the graphs could read "Data: X, sourced through the covidregionaldata package", where currently it reads "Data sourced through the covidregionaldata package"

I know there would be temptation to make this into an URL but that would lead to problems where an URL may not be clickable or useful in some cases (e.g., on a PNG).

seabbs commented 3 years ago

yes, this is a really nice idea.

RichardMN commented 3 years ago

Ok. I may try pulling together a PR, which might also look at #316, at least in part.