Closed marbysneaker closed 4 years ago
Also is there a way to pull US (the whole country) data alone? I can't find one with just US data its all separated in states and counties.
California is showing 282 for me? You can easily get the U.S data alone by doing some mapping. E.g in js:
locations.map(loc => loc.country_code === 'US'); // all U.S. locations.
The data is pulled from here: https://github.com/CSSEGISandData/2019-nCoV, so if the county shows 0, it probably means there's no data for it. I also believe they stopped tracking at county/city-level and are now doing states as whole instead which is also why they might show 0.
I'm missing like 90% of cases in US. https://virusoutbreak.wtf
On Sat, Mar 14, 2020 at 2:42 PM ExpDev notifications@github.com wrote:
California is showing 282 for me? You can easily get the U.S data alone by doing some mapping. E.g in js:
locations.map(loc => loc.country_code === 'US'); // all U.S. locations.
The data is pulled from here: https://github.com/CSSEGISandData/2019-nCoV, so if the county shows 0, it probably means there's no data for it. I also believe they stopped tracking at county/city-level and are now doing states as whole instead which is also why they might show 0.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ExpDev07/coronavirus-tracker-api/issues/44#issuecomment-599138133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGV5KTQF7C4JTUE564DJTRHP23NANCNFSM4LJZKYWA .
-- Anthony Ettinger http://anthony.ettinger.name anthony@ettinger.name +1 (831) 406-1123
Ok got it. Question for the US locations functions, won't that function give you a higher number since its tracking state locations and counties within the states?
@marbysneaker technically it shouldn't. Take the state of California, which shows 282, however, then all its counties will show 0. I'm not sure why JSU still have them there when they're not being tracked though.
@chovy which makes sense since JSU has decided to not track counties anymore and instead just to states.
ahh i see. it had SF yesterday and that was it for california (21). I now see 282. This kind of sucks. Its not as detailed. I can no longer track my area.
On Sat, Mar 14, 2020 at 3:35 PM ExpDev notifications@github.com wrote:
@chovy https://github.com/chovy which makes sense since JSU has decided to not track counties anymore and instead just to states.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ExpDev07/coronavirus-tracker-api/issues/44#issuecomment-599143261, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGV5JHI6VTUPTD6UUZYATRHQBBTANCNFSM4LJZKYWA .
-- Anthony Ettinger http://anthony.ettinger.name anthony@ettinger.name +1 (831) 406-1123
It indeed does suck. I don't know why the decision to drop counties was, but I'm sure you can find it over at JSU's repository @chovy
shouldn't we have a multitude of data feeds by now not just JHU?
On Sat, Mar 14, 2020 at 4:17 PM ExpDev notifications@github.com wrote:
It indeed does suck. I don't know why the decision to drop counties was, but I'm sure you can find it over at JSU's repository @chovy https://github.com/chovy
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ExpDev07/coronavirus-tracker-api/issues/44#issuecomment-599146597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGV5NRVH7IOWNO2RUNNZ3RHQGATANCNFSM4LJZKYWA .
-- Anthony Ettinger http://anthony.ettinger.name anthony@ettinger.name +1 (831) 406-1123
"latest" are all set to 0
yup. same here.
On Sat, Mar 14, 2020 at 7:31 PM Randell Quitain notifications@github.com wrote:
"latest" are all set to 0
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ExpDev07/coronavirus-tracker-api/issues/44#issuecomment-599159454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGV5LLUA7P7WFRWF4HDNTRHQ4WTANCNFSM4LJZKYWA .
-- Anthony Ettinger http://anthony.ettinger.name anthony@ettinger.name +1 (831) 406-1123
yes here, all confirmed data is 0, may be the server cached the empty data right at the time when john hopkins update the data?
it happens a lot. works for a fews, no data for a few hours. repeat.
On Sat, Mar 14, 2020 at 7:42 PM altezza04 notifications@github.com wrote:
yes here, all confirmed data is 0, may be the server cached the empty data right at the time when john hopkins update the data?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ExpDev07/coronavirus-tracker-api/issues/44#issuecomment-599160150, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGV5LKIKQEMP5XRQXW6LLRHQ6BPANCNFSM4LJZKYWA .
-- Anthony Ettinger http://anthony.ettinger.name anthony@ettinger.name +1 (831) 406-1123
@ExpDev07 got it, thank you !
@altezza04 @mugetsu This is due to JSU again setting empty data for latest available (3/14): https://github.com/CSSEGISandData/COVID-19/blob/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Confirmed.csv. It happened yesterday as well :/.
Been reported here: https://github.com/CSSEGISandData/COVID-19/issues/756.
The base data is super buggy and been causing lots of frustration for many trying to create awareness and model the outbreak. Its pretty disappointing.
@Hikmer Unfortunately there’s not much I can do about it besides introducing a different data source (which I’m working on). JSU constantly changes and breaks their data which leads to unexpected errors in the API.
Yeah, its the most critical time to get this right, and they aren't doing a good job keeping the data clean and consistent.
Is this still working? It seems all provinces/counties in California are all showing 0 for the value of "latest"