Fix citation

Open Beginner friendly
#301 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
r
Domain
documentation

Research direction

Start by running pxweb_cite(px_data) and inspect the citation-generation entry point. Compare the result with the issue’s output: the duplicate “Kindly cite...” text should be removed while the data and package citations remain correctly presented.

Written by the indexing model from the issue text.

Description

Double "Kindly cite the 'pxweb' R package as follows:"

pxweb_cite(px_data)
Statistics Sweden (2026). “Population by region, marital status, age, sex
and year.” [Data accessed 2026-09-01 14:21:01.450732 using pxweb R
package 1.0.0],
https://statistikdatabasen.scb.se/api/v2/tables/TAB638/data.

A BibTeX entry for LaTeX users is

@Misc{,
title = {Population by region, marital status, age, sex and year},
author = {{Statistics Sweden}},
organization = {Statistics Sweden},
year = {2026},
url = {https://statistikdatabasen.scb.se/api/v2/tables/TAB638/data},
note = {[Data accessed 2026-09-01 14:21:01.450732 using pxweb R package 1.0.0]},
}
Kindly cite the pxweb R package as follows:

Kindly cite the 'pxweb' R package as follows:

Magnusson M, Kainu M, Huovari J, Lahti L (2026). pxweb: R Interface to
PXWEB APIs
. doi:10.32614/CRAN.package.pxweb
https://doi.org/10.32614/CRAN.package.pxweb, R package version 1.0.0,
https://github.com/rOpenGov/pxweb.

A BibTeX entry for LaTeX users is

@Manual{R-pxweb,
title = {{pxweb: R Interface to PXWEB APIs}},
doi = {10.32614/CRAN.package.pxweb},
author = {Mans Magnusson and Markus Kainu and Janne Huovari and Leo Lahti},
year = {2026},
version = {1.0.0},
note = {R package version 1.0.0},
url = {https://github.com/rOpenGov/pxweb},
}

Dominant language
R
Stars
75
Forks
32
Avg merge
2h 49m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rOpenGov/pxweb

All issues in rOpenGov/pxweb

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.