Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow loading data from URL passed as URL parameter #368

Open
1 of 5 tasks
stijn-uva opened this issue Dec 11, 2022 · 2 comments
Open
1 of 5 tasks

Allow loading data from URL passed as URL parameter #368

stijn-uva opened this issue Dec 11, 2022 · 2 comments

Comments

@stijn-uva
Copy link

stijn-uva commented Dec 11, 2022

In which part of the interface would this feature applies?

  • 1. Load your data
  • 2. Choose a chart
  • 3. Mapping
  • 4. Customize
  • 5. Export

Is your feature request related to a problem? Please describe.
I am one of the developers of 4CAT. Our tool is used by researchers and journalists to do social media data analysis. It can output a variety of analyses as CSV files, e.g. a file containing the amount of tweets per month in a dataset, and so on. Many of these can be visualised very well with RawGraphs and we often recommend people to do so. Right now this requires a manual step where people e.g. download the file and upload it into RawGraphs. We would like to be able to add a "visualise with RawGraphs" button to the interface which would open RawGraphs and open the data file 'automatically'.

Describe the solution you'd like
It is already possible to load data from a URL in the "load your data" step in RawGraphs. We can instruct people to use this, but it would be even easier to be able to pass the data file URL to RawGraphs via a URL parameter, e.g. https://app.rawgraphs.io/?datafile=[4CAT_url]. Then we - and other tools - could in fact offer such a 'visualise with RawGraphs' button.

Describe alternatives you've considered
This feature was added to v1 with PR #176 and there is an open issue for it in #140 but that one is also labeled for v1. Since RawGraphs v2 has come out, and does not seem to support this feature, I figured it would make sense to open a new issue.

Additional context
I'd normally just open a PR for this but unfortunately I am not familiar with React.

@sal-uva
Copy link

sal-uva commented Apr 5, 2024

Bumping this, would be a very welcome feature!

@mikima
Copy link
Member

mikima commented Sep 6, 2024

@uf0 if i remember well we did something like that with wikidata, do you remember how it is possible to open rawgraphs with a pre-loaded dataset from url or even better as a project?
asking also to @bianchimro if you have in mind how to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants