Code Monkey home page Code Monkey logo

flat-viewer's People

Contributors

gadenbuie avatar irealva avatar lonerifle avatar mattrothenberg avatar msftgits avatar wattenberger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flat-viewer's Issues

graph evolution of a numeric value over time

[cross-posting https://github.com/githubocto/flat/discussions/15 in case this is a better place to discuss this]

๐Ÿง™ The killer feature for me would be to be able to graph the evolution of values over time (i.e. across commits)

i.e. I'm using a Flat action to scrape the number of "things" from an API. I want to graph number of "things" over time ๐Ÿ“ˆ

Let me know if I can help!

Handle fields with units as numbers

I have set up a repo to collect holdings of ARK funds using flat

When I sort by market value column, I notice that the sorting is done in pure alphabetical sort order and the data is not sorted by the actual value.

Screenshot 2021-10-12 at 3 36 08 PM

Link to the data

Allow content payload exceeds `1MB`

since Get repository content would use base64-encoded when size less than 1MB, but when the size exceed 1MB, the encoded payload became empty ''

{
  content: ""
  download_url: "https://raw.githubusercontent.com/zhang699/translations/b11706c2aff98a97988faf9d38a873565053d4c7/xxx.json?token=ABIL4IH7KXMQWJ2IS5LK7TTC4O3FG"
  encoding: "none"
}

one of solution I think we can use download_url to fetch the raw

Allow user to query dataset with duckdb-wasm

@duckdb provides an in-process database query engine for common tabular file formats, including csv and JSON. A wasm distribution is available on npm, and can be used in JSONDetail to provide the user with an input field to run queries against a selected file and commit.

Richer support (eg, joins between multiple files and/or commits) could be addressed in subsequent issues.

feat: list repos tagged with `flat-data` if only org is specified

For non-technical users, Flat Viewer as hosted on flatgithub.com has been effective for exploring tabular data hosted on GitHub repositories. A team could create a GitHub organization containing Flat Data repositories, each one set with the corresponding flatgithub.com URL, and non-technical users can then be directed to explore these repositories on github.com/<org-name>.

However, given how GitHub's UI is tailored mostly for developers, non-technical users may be unfamiliar (and possibly unwilling to be familiar) with reading through a list of repositories on a GitHub org page, and would hence be intimidated from exploring further.

To help such users, Flat Viewer could implement the listing of repositories that contain Flat Data (identified by eg being tagged with flat-data) within a given GitHub organization. Users can then look at a GitHub org's flat-data repos, through an interface specifically for exploring Flat Data, via a URL like flatgithub.com/<org-name>.

404 error in private repo

Hi!

I'm trying to use flat viewer on a private repo (via local storage token).
Flat viewer can access files/commits, but I get an error in the data viewer pane: "Oh no, we couldn't load x/y.csv for some reason".

A 404 is logged to console because looking up the pattern:
https://raw.githubusercontent.com/${owner}/${name}/${sha}/${filename}
gives a 404 for my private repo.

Not sure whats wrong - should there be a token included in the URL (for private repos) for instance? (github links to raw data in a private repo using ?token=...)

Unique file names for downloads

Files downloaded from Flat Viewer have the name flat-ui__data <timestamp>.extension. . Would it be possible to use flat-ui_<timestamp>_<filename> or similar naming schemes to make it easy to identify them?

How to filter for multiple values, e.g. through AND and OR?

The current flat viewer allows for easy filtering of single values.

However, I would like to know how to filter for multiple values in the same column.

For example, you have a column animals with values: cat, dog, penguin, etc.

How to filter for both cat AND dog?

UI: sticker/link back to flat-viewer github repo

I think this is worth considering ๐Ÿ˜ƒ

UI/homepage leaves lots of space for a sticker, and repo gives a lot of helpful context about the tool which the UI/homepage doesn't (being nice and concise themselves)

Support for YAML files

I love this project! We used a flat-like data structure for @Karuna2020, our COVID-19 nonprofit, and you can for example see a list of all our donors and the amounts using Flat Viewer: https://flatgithub.com/Karuna2020/open-data?filename=donations.json

I'd also love to see YAML support, for example for this file: https://raw.githubusercontent.com/AnandChowdhary/life-data/master/heart-rate.yml (currently, YAML is not supported: https://flatgithub.com/AnandChowdhary/life-data?filename=heart-rate.yml).

Where can I find some documentation about URL parameter?

Hi,
when I apply a filter I see something like:

?filename=dati%2Fsomministrazioni-vaccini-latest.csv
&filters=fornitore%3DJanssen
&sha=9e6a9f4a150e6b96ef52827e0e2692274d68701e
&sort=data_somministrazione%2Cdesc
&stickyColumnName=data_somministrazione

For some I can deduce the meaning. Is there a page with documentation?
What's a stickyColumnName, what is it for?
What's the date format I must use for date fields? etc.

Thank you

Allow addition of title and brief documentation in Flat Viewer

Thank you for Flat Viewer! I love this project.

This is a feature request, and I'm not sure how feasible it would be to implement. But we are using Flat Viewer to host and share datasets for the Post45 Data Collective, a repository for literary and cultural data from 1945 to the present. We would love to have the option of adding a title or perhaps some brief documentation to the top of the Flat Viewer page โ€” perhaps this could be customized by including information in a certain way in a README file in each folder in the repository?

Just to give a concrete example, here's what our current framework for hosting the datasets looks like:
Screenshot 2023-06-29 at 11 27 27 AM
vs

Screenshot 2023-06-29 at 11 28 55 AM

We would basically like to add the title, author, and contextual information.

Datetime columns do not display correctly on mobile

Fantastic work on Flat, GitHub OCTO! ๐Ÿ™

I've used Flat Data to grab the 7-day asteroid forecast from NASA's Near Earth Object API.

Opening Flat Viewer on nasa-asteroids-postprocessed.csv on desktop, everything looks great: https://flatgithub.com/nsgrantham/nasa-asteroids

However, when opened on mobile (iOS 14.4.2 using Safari and Chrome), there appears to be a problem with the datetime columns close_approach_datetime and orbit_determination_datetime.

flat-viewer-datetime-mobile

These columns are of the form yyyy-MM-dd HH:mm and yyyy-MM-dd HH:mm:ss respectively.

There is no problem with the regular date columns of the form yyyy-MM-dd.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.